View Single Post
  #3  
Old June 21st 06, 06:12 PM posted to microsoft.public.outlook.program_vba
Michael Bauer
external usenet poster
 
Posts: 435
Default Runtime error 424

Am Wed, 21 Jun 2006 08:29:37 -0700 schrieb Graham:

Outlook doesn´t know neither the Options object nor a DefaultFilePath
method.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --


Hi

I have a macro in word which changes the default path for the save as
dialogue box.

In word it word it works fine but I copied the code into Outlook an I get
the following message

Runtime Error 424
Object required

and the following line is highlighted in yellow when I click debug.

Rem ** This sets the default directory for this word session to the folder
variable **
Options.DefaultFilePath(wdDocumentsPath) = Folder$

Taking the cursor over the Folder$ display the correct path so the code
before seems to be okay

What do I need to do to sort

Thanks for any help
Graham

Ads