Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 111
Default 'Save as' problem

To all,

I have a macro that imports some data from a text file, and then
produces a graph of the data. I then save only the graph, and
associated worksheet ( i.e. the data ) as a seperate file. I use the
command 'Save as' to save the file.

When I do this it obviously closes the original file, and leaves the
user looking at the saved as file. Is there anyway I can keep my
original workbook (DATA.xls) open, while saving the file. So that the
user can then continue to use the workbook (DATA.xls) without any
interuption?

Thanks for your help in advance,

Regards

Joseph Crabtree

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,726
Default 'Save as' problem

Use SaveCopyAs instead of SaveAs

ActiveWorkbook.SaveCopyAs

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"joecrabtree" wrote in message
ups.com...
To all,

I have a macro that imports some data from a text file, and then
produces a graph of the data. I then save only the graph, and
associated worksheet ( i.e. the data ) as a seperate file. I use the
command 'Save as' to save the file.

When I do this it obviously closes the original file, and leaves the
user looking at the saved as file. Is there anyway I can keep my
original workbook (DATA.xls) open, while saving the file. So that the
user can then continue to use the workbook (DATA.xls) without any
interuption?

Thanks for your help in advance,

Regards

Joseph Crabtree



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Save" macro problem, still prompted to save when closing workbook (?) StargateFanFromWork[_4_] Excel Programming 8 September 13th 06 04:49 PM
Problem with 'save as' Boz Excel Discussion (Misc queries) 1 April 7th 06 08:35 PM
Save as problem with Save In drop down box Doug Excel Discussion (Misc queries) 3 March 16th 06 02:46 PM
Save As CSV problem ScotP Excel Discussion (Misc queries) 9 April 26th 05 11:14 PM
Save problem MikeR[_2_] Excel Programming 2 August 25th 04 10:48 AM


All times are GMT +1. The time now is 10:55 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"