Questions tagged [commandbar]

120 questions
0
votes
1 answer

Code to run AFTER right click

I want to block out some of the command bar options, but the method I am currently using is a bit too restrictive. I currently use this code: Sub Auto_Open() Application.CommandBars.FindControl(ID:=847).Enabled = False End Sub Sub…
user3737057
  • 121
  • 3
  • 12
0
votes
2 answers

CommandBars("Ply") won't reset on workbook beforeclose VBA Excel

I am using the following code to prevent a user from right clicking the tabs in an Excel workbook : application.CommandBars("Ply").Enabled = false on the beforeclose event of the workbook, I am calling another procedure which contains…
Sébastien
  • 5,263
  • 11
  • 55
  • 116
0
votes
1 answer

Disable or delete right click menus VBA

Whenever I right click on an excel sheet two menus come up: one with cut, copy, paste, etc. and one with font size, bold, italic etc. I can customize the first one to have whatever command I want. The problem I have is that I want to DISABLE or…
Ernesto
  • 605
  • 1
  • 13
  • 30
0
votes
1 answer

Error on install Visual Studio 2012 Add-in in another computer

I made an add-in using VS 2012 and it works fine for me on debugging. After done, I made a vsi installation file renaming a zip file that contains the .addin, .dll and .vscontent to .vsi I'd sent this vsi file to another computer, and tried to…
0
votes
1 answer

Add different CommandBars to Hub Element

How can I add different CommandBars (AppBars) to an Hub element in Windows Phone 8.1 app. I want to have a different CommandBar for each Hub Section, but I can't declare the CommandBar in the Hub Section. So I can only use one CommandBar in the Hub.
user2025830
  • 872
  • 2
  • 17
  • 37
0
votes
1 answer

CommandBar under WIN CE6

I'm currently working on a cross plattform project and I'm pretty new in this subject. I tried using CommandBar to create a custom toolbar for diverse plattforms. It's working under CE7, Windows Mobile 6 and Windows Mobile 6.5.3. It isn't working…
0
votes
1 answer

Code within pop-up does not affect worksheet elements

I am trying to create pop-up menu, that will give option to copy-paste a shape object out from shape group named "Element" (Oval + Text Box). But it seemed that Select & Paste methods did not work. Public Element_Menu As CommandBar Function…
Java4Java
  • 1
  • 1
0
votes
0 answers

How to create a grid view page that behaves like the start menu

I'm trying to create a grid view page that behaves like the start menu: If I tap or left click an item in the grid view, I want to navigate to another page. On the other hand, If I hold or right click an item, I want the item to be selected, I want…
user1325543
  • 523
  • 3
  • 12
0
votes
1 answer

Command to AppBarButton in CommandBar within Page.BottomAppBar doesn't fire

I am working on a little app for Windows RT / 8.1 using the MVVM-Pattern. The problem is, that the binded command (coming from the ViewModel) to a AppBarButton in a CommandBar in Page.BottomAppBar is not firing, when clicked on. It doesn't work too,…
basedgod
  • 2,517
  • 1
  • 17
  • 18
0
votes
1 answer

CommandbarControls.Move method for submenu

Using the Move method of the CommandBar object I managed to move a CommandBarControl using the following syntax: CommandBars("TopMenu").Controls("SomeControl").Move CommandBars("AnotherTopMenu") I need, however, to move the control to a submenu (or…
E Mett
  • 2,272
  • 3
  • 18
  • 37
0
votes
2 answers

Excel VBA remove right button click 'Paste Options' menu group when editing within a cell

I need to remove the 'Paste Options' from the right button click menus in Excel 2010 using VBA. I am able to remove all unnecessary 'normal' control items (such as "Cu&t", "&Copy", "Paste &Special..." etc.) that I do not need, but cannot get rid of…
user2615484
  • 59
  • 1
  • 5
0
votes
2 answers

How to create a button like New Mail in Outlook add-in?

Can anyone pls tell me how to create a button(in CommandBar) like 'New Mail' (with a dropdown list) in Outlook? When one clicks on the button it should do some action and when clicked on the down arrow mark, it should populate a list of items. I am…
Pranav
  • 1
  • 1
  • 3
0
votes
1 answer

BHO or Command Button for explorer

I am trying to develop a command button that would appear on windows explorer. I can do this for an NSE but what I want to do is make the button visible on every explorer window. I want it to work for windows 7 and vista. I know it is possible as I…
Zaid Amir
  • 4,727
  • 6
  • 52
  • 101
-1
votes
1 answer

CommandBar overflow in UWP app - can it be scrollable?

Background I am developing a UWP app, which is being designed for mobile, desktop etc. I am having a bit of difficulty with the CommandBar on certain pages - specifically on a phone (but this may also apply to a smaller desktop window). Issue Where…
Geoff James
  • 3,122
  • 1
  • 17
  • 36
-2
votes
1 answer

How to disable “Save and send” in Excel 2010 (in the File ribbon and from quick access bar)?

I try to rename my file myfile.xlsb to myfile.zip then open zip archive, create in them folder customUI, put in this folder file customUI.xml with data
1 2 3 4 5 6 7
8