![]() |
#1
|
|||
|
|||
![]()
Hi,
I'm encountering an issue with my Macro. I have got it to work thus far to remove the Read Only status and clear the password boxes when someone opens the document using AutoOpen so when someone clicks "Save As" they do not then need to remove the read only status. Code:
Public Sub AutoOpen() With Dialogs(wdDialogFileSaveAs) ActiveDocument.ReadOnlyRecommended = False ActiveDocument.Password = "" ActiveDocument.WritePassword = "" End With End Sub Now I tried adding Code:
ActiveDocument.SaveAs2 FileFormat:=wdFormatXMLDocument Can anyone help, or maybe produce something better, that works? Thanks |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
"No program is registered to open this file" when clicking hyperlink | EatVegetables | Excel | 2 | 12-23-2014 09:23 AM |
![]() |
gmanword | Word VBA | 5 | 11-30-2013 02:55 PM |
![]() |
casaserves | Word | 4 | 08-03-2013 01:11 AM |
Getting COMException Incompatible file type and file extension | sbalerao | Mail Merge | 0 | 04-21-2011 10:30 AM |
Open a linked file without mouse clicking it | Vangskop | PowerPoint | 0 | 03-09-2011 10:08 AM |