I am using excel and learning how to code in vba for macro buttons.
I was trying to create button and put a code so that when I double click on the button vba window gets open instead of using shortcut alt+f11.
Can anyone please provide any details if there is any code ? Thanks
Application.SendKeys
ago – SlappedProgrammerApplication.SendKeys("%f11")
I think that would work, give it a try. docs.microsoft.com/en-us/office/vba/api/… – SlappedProgrammer