![]() |
|
#1
|
|||
|
|||
![]()
Hi Stefan, I go to macro and insert the name AutoNew and create. Then in vb editor it shows as:
Sub AutoNew () ' ' AutoNew Macro ' End Sub Now as per instructions, I highlight AutoNew and paste the code over it. This then shows in yellow: SubSub AutoNew (), then at the bottom there are 2 End Sub one is greyed. I'm obviously pasting it wrongly. Thanks.Graeme. |
#2
|
||||
|
||||
![]()
If you see two "End Sub" (one immediately after the other), delete one of them.
__________________
Stefan Blom Microsoft Word MVP Microsoft 365 apps for business Windows 11 Professional |
#3
|
|||
|
|||
![]()
Hi Stefan, I can delete the End Sub ok. Pasting is the problem. I highlight AutoNew () as the macro name and then get SubSub AutoNew () in red. Do I have to delete one of these Sub things also? Graeme.
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
gburya | Word VBA | 26 | 07-04-2017 03:29 PM |
![]() |
RetailPoint | Word VBA | 14 | 01-14-2015 09:51 AM |
![]() |
Geza59 | Word VBA | 18 | 01-15-2014 01:43 AM |
![]() |
GeneOliver | PowerPoint | 1 | 10-01-2012 11:26 PM |
![]() |
jdwoods | Word VBA | 7 | 12-16-2011 05:11 AM |