J
jalanford
I have a macro that temporarily sets user options in the editing options of
the Word Options dialog. For the purposes of other macros being run:
Options.ReplaceSelection = True
This works fine in WD2003. In fact, if you record the action of setting this
option manually in the dialog box, you get the above line. However, when I
try to run this as part of a macro or by itself, I get a Run-time error 4120
Bad Parameter error. Something is obviously not right here. I tried changing
the macro security settings but nothing good came of it. I'm running Office
Pro 2007 on XP and I wonder if that's the problem. There was a similar issue
discussed here awhile back and it seems to me that there were varying results
depending on whether the user was running XP or Vista.
Anybody out there know anything about this "feature" and whether it's being
addressed OR whether there is some security setting somewhere that I am
overlooking?
Thanks for your time,
Jalanford
the Word Options dialog. For the purposes of other macros being run:
Options.ReplaceSelection = True
This works fine in WD2003. In fact, if you record the action of setting this
option manually in the dialog box, you get the above line. However, when I
try to run this as part of a macro or by itself, I get a Run-time error 4120
Bad Parameter error. Something is obviously not right here. I tried changing
the macro security settings but nothing good came of it. I'm running Office
Pro 2007 on XP and I wonder if that's the problem. There was a similar issue
discussed here awhile back and it seems to me that there were varying results
depending on whether the user was running XP or Vista.
Anybody out there know anything about this "feature" and whether it's being
addressed OR whether there is some security setting somewhere that I am
overlooking?
Thanks for your time,
Jalanford