well i was using the controlID:
but I will try your suggestion and see if that helps.'find the Window Menu Set cWindowMenu = CommandBars(1).FindControl(Id:=30009) 'id = Window menuThanks.
well i was using the controlID:
but I will try your suggestion and see if that helps.'find the Window Menu Set cWindowMenu = CommandBars(1).FindControl(Id:=30009) 'id = Window menuThanks.
Last edited by Aussiebear; 04-28-2023 at 02:16 AM. Reason: Adjusted the code tags
Office 2010, Windows 7
goal: to learn the most efficient way