How do I open an Excel form via Ctrl+[some other key]


I'm watching this great tutorial on how to create a Watch Window with VBA.  The instructor says he's assigned Ctrl+W to open the form, but he doesn't explain how he did that.  I have no idea how to open a form in Excel.

Can anyone help?


Link to tutorial on YouTube:
Frank SellersAnalyst/DeveloperAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Saqib Husain, SyedEngineerCommented:
From Excel press alt-F8
Select your macro
Click on Options
Here you can assign a key

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Martin LissOlder than dirtCommented:
Ctrl+W doesn't open your form, it opens the Watch Window. If you'd like to know more about Debugging then you might want to read my Debugging article. It's aimed at VB6 but it's valid for VBA.
Frank SellersAnalyst/DeveloperAuthor Commented:
Hello MartinLiss - Thanks for the info, but the instructor in the YouTube video says he's somehow assigned Ctrl+W to open his customized Watch Window in lieu of Excel's built-in Watch Window.  I didn't even know Excel HAD a watch window (I'm far from an expert, which is why I need help) so that's good to know.  Still, I like this cusomized Watch Window better than the standard one.
Bootstrap 4: Exploring New Features

Learn how to use and navigate the new features included in Bootstrap 4, the most popular HTML, CSS, and JavaScript framework for developing responsive, mobile-first websites.

Martin LissOlder than dirtCommented:
Can you post a picture of the customized watch window?
Rory ArchibaldCommented:
If you look about 8:25 into the video, Bill shows the ShowForm routine he uses to show the actual Watch Box form. You simply need to assign a shortcut key to that as saqibh already indicated.
Frank SellersAnalyst/DeveloperAuthor Commented:
Thanks for your info, rorya.  How do I assign a shortcut key to this routine?
Rory ArchibaldCommented:
Using the steps saqibh posted above. ;)
Frank SellersAnalyst/DeveloperAuthor Commented:
MartinLiss - Attached is a screen shot of my form.  Nobody answering me so far seems to understand that I can't figure out how to open any form in Excel - it's like it's a big secret - let alone assign this opening command to a key combination.
Martin LissOlder than dirtCommented:
ssaqibh's answer is correct and here's more explanation.

Create this macro

Sub Macro1()
End Sub

Then do Tools|Macro|Macros and you will see the screen on the left. Select the new macro, click Options and you can assign a letter in the screen on the right.
Macro options
Frank SellersAnalyst/DeveloperAuthor Commented:
Sorry I missed this solution before I continued seeking an answer.  Thanks to everyone for your help - it works perfectly!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.