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

Hi, I am attempting to save a work book as another file name using the

Application.Dialogs(5).Show

I am then doing setting the active page

Worksheets("LS_ORDER_FORM_1").Activate


The problem I am having is it seems that the original is still open because
the data then cannot be saved properly on the new file. Could it be that both
are open for a period?

Can a person ensure that the original workbook is closed before doing any
processing on the new?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Save as

When you do a saveas, the old workbook name becomes the new workbook name.
There is no period of time when two workbooks exist.

--
Regards,
Tom Ogilvy

"John" wrote in message
...
Hi, I am attempting to save a work book as another file name using the

Application.Dialogs(5).Show

I am then doing setting the active page

Worksheets("LS_ORDER_FORM_1").Activate


The problem I am having is it seems that the original is still open

because
the data then cannot be saved properly on the new file. Could it be that

both
are open for a period?

Can a person ensure that the original workbook is closed before doing any
processing on the new?




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,069
Default Save as

Then I don't get the problem. Do you have to set the ActiveWorkbook somehow
after the save as? If so how would a person do that?


"Tom Ogilvy" wrote:

When you do a saveas, the old workbook name becomes the new workbook name.
There is no period of time when two workbooks exist.

--
Regards,
Tom Ogilvy

"John" wrote in message
...
Hi, I am attempting to save a work book as another file name using the

Application.Dialogs(5).Show

I am then doing setting the active page

Worksheets("LS_ORDER_FORM_1").Activate


The problem I am having is it seems that the original is still open

because
the data then cannot be saved properly on the new file. Could it be that

both
are open for a period?

Can a person ensure that the original workbook is closed before doing any
processing on the new?





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, save as, page setup dimmed out in unprotected excel sheet? ccKeithJ Excel Discussion (Misc queries) 3 December 14th 07 07:07 PM
how to get disk icon on save button of save as dialog like 2000 RichT Excel Discussion (Misc queries) 2 March 9th 06 08:13 PM
when i save xls file, debug script is running and canno't save fil Imtiaz Excel Discussion (Misc queries) 1 July 16th 05 03:47 PM
Save Excel file - prompts to save - no Volitile functions used POWER CERTS Excel Worksheet Functions 2 November 1st 04 09:27 PM
Why system asks me to save change even after I call save method(VB.NET) steellock Excel Programming 2 April 27th 04 04:14 AM


All times are GMT +1. The time now is 04:36 PM.

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

About Us

"It's about Microsoft Excel"