D
Dave Neve
Hi
I'm completely new to VB and I'm using a book to get aquainted with it.
However, I would also like to use the option 'create macro' in Word as a
halfway house to create some macros and see how they work.
Problem is my very first macro created this way (while editing a .doc)
doesn't work.
As the instructions are through Word with the keyboard, I can't understand
why it won't run and as I can't really understand code yet, I'm unable to
debug.
The bug is indicated by VBA as being in the following bit of code and I was
wondering if someone could indicate the error and correct it?
Thanks in advance
NormalTemplate.AutoTextEntries("Madame, Monsieur,").Insert Where:= _
Selection.Range, RichText:=True
End Sub
I'm completely new to VB and I'm using a book to get aquainted with it.
However, I would also like to use the option 'create macro' in Word as a
halfway house to create some macros and see how they work.
Problem is my very first macro created this way (while editing a .doc)
doesn't work.
As the instructions are through Word with the keyboard, I can't understand
why it won't run and as I can't really understand code yet, I'm unable to
debug.
The bug is indicated by VBA as being in the following bit of code and I was
wondering if someone could indicate the error and correct it?
Thanks in advance
NormalTemplate.AutoTextEntries("Madame, Monsieur,").Insert Where:= _
Selection.Range, RichText:=True
End Sub