Skip to main content
Filter by
Sorted by
Tagged with
2 votes
1 answer
97 views

The following code opens Animation Pane in Power Point Application. Application.CommandBars.FindControl(Id:=730, Type:=1).Execute I want to open Animation Pane if Animation Pane is not already open.
Danny Coleiro's user avatar
1 vote
1 answer
710 views

The following code is taken from this link. https://forum.ozgrid.com/forum/index.php?thread/32040-minimize-vba-window-with-code/ Sub Macro1() Dim cbcTemp As CommandBarControl On Error Resume ...
Danny Coleiro's user avatar
0 votes
1 answer
251 views

I would like to remove options from the menu that pops up when you right click a slicer. More specifically, I would like to remove "Remove", "Cut", "Refresh", the two ...
Mbr's user avatar
  • 1
0 votes
3 answers
943 views

I am trying to hide most of the application.Commandbar options when a user right clicks. Usually it works but sometimes I get a debug error. I originally managed to get it working with the below: ...
ajr45's user avatar
  • 129
0 votes
2 answers
654 views

I have a Word document with a series of of command buttons that toggle their corresponding rows of text between hidden and unhidden. I would like for the buttons themselves to be hidden when I print ...
travisj25's user avatar
0 votes
1 answer
387 views

Using Office 2019, Excel How can I add 'icon only' buttons to a custom context? I have this simple menu: On Error Resume Next CommandBars("MyBar").Delete Dim cb As CommandBar Set cb = ...
Guyglk's user avatar
  • 51
0 votes
0 answers
132 views

With my macro im using about 300 files. I want to do the summary of all these files in one file. I have the array formula to sum some staff. I just write a formula without opening each of the file. ...
Emilia Rajchel's user avatar
0 votes
1 answer
485 views

I am using the CommandBar Component to display links. (The buttons are href links). I want to remove the underline from buttons when hover. Is it possible? enter image description here https://...
Lirlev4's user avatar
1 vote
1 answer
389 views

I have come across a layout / template problem with CommandBar of which symptoms are seen in several pages: UWP - CommandBar blank space under Buttons https://github.com/microsoft/microsoft-ui-xaml/...
hansmbakker's user avatar
  • 1,254
0 votes
2 answers
783 views

I am using the following command in Word VBA but in the latest version of Word 365 (version 2005): Application.CommandBars.ExecuteMso ("FileNew") but this does not give the same Backstage ...
David Price's user avatar
0 votes
0 answers
169 views

I have menu with submenu made of control buttons: Set MenuItem = .Controls.Add(Type:=msoControlPopup) With MenuItem .caption = "Code Type" With .Controls.Add(Type:=msoControlButton) ....
kittu's user avatar
  • 7,034
5 votes
2 answers
392 views

I try to read the information of Microsoft Access (Office) CommandBars contained in an *.mdb. I could use Microsoft.Office.Interop.Access for this; however, these PIA assemblies are tied to specific ...
Olivier Jacot-Descombes's user avatar
1 vote
2 answers
1k views

I want to create a macro which allows, once an object is selected, to open the associated CommandBar. I wrote the following which works sometimes, but not everytime - it does not work the first time. ...
Naxos's user avatar
  • 51
0 votes
1 answer
265 views

What is recommended approach to display a Dropdown in CommandBar? There is no build-in support to display a dropdown in CommandBar. I know two ways to work around that. Label + Dropdown. It's the ...
qxg's user avatar
  • 7,096
0 votes
1 answer
280 views

I am trying to replicate the appearance of the CommandBar within the build in Photos app. The command bar has three sections at the left, centre and right. My guess is that the right items are the ...
Sam's user avatar
  • 4,359
0 votes
0 answers
288 views

My code creates 2 buttons on a custom Commandbar. It's working fine, but the 2 buttons are side by side, and I want them vertically stacked. How can I fix this ? Sub Crea_Menu() With ...
Patrick Honorez's user avatar
0 votes
1 answer
1k views

I am trying to create an option that allows the user to remove data validation from a cell via the right click menu option. So far, the code is compiling and executing without errors. It is ...
Tommy's user avatar
  • 25
0 votes
2 answers
168 views

My little project is progressing well, however I'm stumbling over something which is probably stupid... Somehow, when I open the application, nothing gets focus, I have to use the "tab" key to be ...
Francois Gagnon's user avatar
1 vote
2 answers
907 views

is it possible to bind an UWP CommandBar to something like a ObservableCollection or so? What i want to achieve ist to bind my CommandBar of my NavigationView to an Object of a specific Page so that ...
cybertronic's user avatar
1 vote
2 answers
584 views

I want to move the CommandBar to the right side and let the AppBarButtons flow from top to down. In other words I want to rotate the CommandBar by 90 degrees from top to the right side of the Page ...
J.Carden's user avatar
0 votes
1 answer
231 views

I am trying to show the ellipse button in the command bar only when it is in a Minimal mode. So far, the command bar isn't showing the ellipse button when on launched, this is how it looks like: So ...
thalassophile's user avatar
2 votes
1 answer
317 views

I am developing a UWP application. I want to have a command bar with a back and forward button to help users navigate back and fore. However, the UI did not turn out what I am trying to achieve. ...
thalassophile's user avatar
0 votes
1 answer
2k views

I have been trying to use the Office UI Fabric's Command Bar control in Office.js API Microsoft Word application. The buttons that are seen in the main bar all work as intended when the app is ...
Alfree92's user avatar
4 votes
1 answer
1k views

I would like to add a AutoSuggestBox in the CommandBar. However the following code does not make the AutoSuggestBox stretch. I tried setting the HorizontalContentAlignment="Stretch" and ...
resp78's user avatar
  • 1,554
1 vote
2 answers
628 views

Ok, so scrollbar from my Hub (I think) is overlapping my command bar and it is impossible to interact with thee. So how do I disable it (the scollbar)? To get it invisible? I tried adding "...
stroibot's user avatar
  • 874