A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Save document without saving macro within it?



 
 
Thread Tools Display Modes
  #1  
Old November 16th, 2004, 11:42 PM
Dave Peterson
external usenet poster
 
Posts: n/a
Default Save document without saving macro within it?

Another option is to put the macro in a separate workbook.

Then open both the macro workbook and the "real" workbook. Execute the code
against the real workbook to clean it up. And there would be no macros to send.



Biggis wrote:

Help,

I have a program that sends results to a xls-document and opens it. This
document contains a macro that automaticlly starts when the document opens.
The macro deletes two pictures and gets two new from a specified map on a
network.

If I want to send the document to a person outside the network I have a
problem. The macro deletes the two old pictures but does not find the new
ones.

Is there any way to save the document under another name, after it has been
open the first time, without saving the macro? Can I do this in a easy
automatic way, not by doing it manually?

If that's impossible I would like the macro to work like this:
-start macro
-delete pictures
-get new pictures
-delete macro

I also want to do this several times with the same document. This means that
the first macro must be there when I open the document the next time. Is it
possible?

Anyone?

/Biggis


--

Dave Peterson
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can you save individual document pages as seperate word files? kersterlm Mailmerge 3 December 16th, 2004 09:35 PM
Save As and Document Properties Charlotte General Discussion 8 August 16th, 2004 06:43 PM
Forcing Save Macro alex richardson General Discussion 2 August 6th, 2004 08:30 PM
Word hangs saving new document after merge to access database Sandy Mailmerge 4 May 19th, 2004 03:43 PM
word error mac General Discussions 1 May 6th, 2004 08:14 AM


All times are GMT +1. The time now is 06:04 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.