View Single Post
 
Old 05-09-2024, 11:23 AM
wardw wardw is offline Windows 11 Office 2021
Advanced Beginner
 
Join Date: Oct 2012
Posts: 65
wardw is on a distinguished road
Default

Thanks, Charles and Andrew. I've encountered a more fundamental problem, it seems. I tried to create a macro I called Test1 to simply open the Styles dialog. While the macro was recording, I opened Home, then clicked the arrow in Styles to open the dialog. Then I stopped recording. The macro that appeared in VBA looks like this:

Sub Test1()
'
'Test1 Macro
'
'
End Sub

So no commands were recorded. When I closed the Styles dialog, then tried to run the macro, nothing happened.

I suspect there's a problem with dialogs and VBA. Any ideas on why this didn't record?
Reply With Quote