Saving a document without the code 
Author Message
 Saving a document without the code

Hello,
I'd like to save a copy of my document without the VBA code in it. Does
anyone know how I can do this?
Thanks in advance,
S. Armondi


Mon, 17 Oct 2005 01:32:53 GMT  
 Saving a document without the code
Is the code in the document or in its template.

If in the template, sending the document to someone without the template
does not include the code.
If the code is in the document, it is best to make a copy of the document,
then open that copy and remove the code.

--
http://www.standards.com/; Howard Kaikow's web site.
------------------------------------------------

Quote:
> Hello,
> I'd like to save a copy of my document without the VBA code in it. Does
> anyone know how I can do this?
> Thanks in advance,
> S. Armondi



Mon, 17 Oct 2005 02:10:03 GMT  
 Saving a document without the code
Save the document as an RTF file

Example
    ActiveDocument.SaveAs _
        "c:\temp\MyDocToRTF.rtf", wdFormatRTF

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/offi...
ml/output/F1/D4/S5ACC4.asp

Krgrds,
Perry



Quote:
> Hello,
> I'd like to save a copy of my document without the VBA code in it. Does
> anyone know how I can do this?
> Thanks in advance,
> S. Armondi



Mon, 17 Oct 2005 10:27:01 GMT  
 Saving a document without the code
Saving as RTF has been known to lose things from the doc format.
Dunno if the problem still exists.

It's safer to copy the doc and remove the modules.

--
http://www.standards.com/; Howard Kaikow's web site.
------------------------------------------------

Quote:
> Save the document as an RTF file

> Example
>     ActiveDocument.SaveAs _
>         "c:\temp\MyDocToRTF.rtf", wdFormatRTF

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/offi...
Quote:
> ml/output/F1/D4/S5ACC4.asp

> Krgrds,
> Perry



> > Hello,
> > I'd like to save a copy of my document without the VBA code in it. Does
> > anyone know how I can do this?
> > Thanks in advance,
> > S. Armondi



Tue, 18 Oct 2005 12:12:04 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. wordXP save document without macro/template code

2. removing code from a document created via code and save as

3. Give a document a name without saving

4. closing a document without saving changes

5. creating a macro to close a document without saving

6. Need to Close Document Without Save Prompt

7. Can't close document without saving?

8. Save document without including macros

9. Close a document without saving

10. Close a document without saving

11. close document without saving

12. email active document - without saving it

 

 
Powered by phpBB® Forum Software