V
Vince
I need to be able to change all the field codes in a document to text. I
read that I could simply select the text and press CTRL+SHIFT+F9 to make
this happen. It works when I do it manually. However, I need a macro to do
this. So, I did:
sub Mac
activedocument.select
sendkeys "^+{F9}"
end sub
Now, when I ran this, nothing happened. So, I tried a sendkeys "%F" to see
if the File Menu opened up. When I clicked the "Play" icon under VB editor,
the VB Editor's file menu opened up. When I did a Tools - Macro - Run - Mac,
nothing happened!
My question is how do I send the keys to Word or is there a better way...
Thanks for your time.
Vince
read that I could simply select the text and press CTRL+SHIFT+F9 to make
this happen. It works when I do it manually. However, I need a macro to do
this. So, I did:
sub Mac
activedocument.select
sendkeys "^+{F9}"
end sub
Now, when I ran this, nothing happened. So, I tried a sendkeys "%F" to see
if the File Menu opened up. When I clicked the "Play" icon under VB editor,
the VB Editor's file menu opened up. When I did a Tools - Macro - Run - Mac,
nothing happened!
My question is how do I send the keys to Word or is there a better way...
Thanks for your time.
Vince