LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 504
Default Excel document not saving

From VBA, I start with an excel workbook with one worksheet. Then, I open a
second excel file (with one worksheet), edit it and bring the tab into the
original workbook. So, there are now two worksheets in the original workbook.
Then save it - this works. Then, do it again... Open a new second excel file,
edit the tab and bring it into existing workbook. Now there are 3 tabs in the
original workbook. I try to save and it gives an error "document not
saved"... using the following code:

Workbooks.Open ("\\...path\Summary.xls")
Windows("Summary.xls").Activate
Sheets("Tab1").Select
Sheets("Tab1").Move befo=Workbooks(Original).Sheets(1)
ActiveWorkbook.Save

 
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
saving an excel document as a PDF Rich Burf Excel Discussion (Misc queries) 4 October 1st 09 01:14 PM
Saving Excel Document to PDF Brett Excel Discussion (Misc queries) 4 August 21st 07 12:45 AM
Saving Document in Excel Sam Excel Discussion (Misc queries) 6 July 11th 06 04:03 PM
Saving Excel document without macros Rui Álvares Excel Programming 2 July 19th 05 02:05 AM
Automatically Saving an Excel Document as a Web Page Danimagus Excel Discussion (Misc queries) 0 June 1st 05 06:34 PM


All times are GMT +1. The time now is 02:33 AM.

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"