Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default What does this message mean?

When user clicks button new file is created using
Do
fname = Application.GetSaveAsFilename
Loop Until fname < False
newbook.SaveAs Filename:=fname & "xls",
FileFormat:=xlNormal

Then top sheet of users file is copied to the new file
Sheets("Status Change").Copy Befo=Workbooks(fname
& "xls").Sheets(1)

this works fine.

But the I use
Workbooks(myfile & "xls").Save

and I get this message:
Save 'MyFile.xls'with references to unsaved documents?

what does this mean?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default What does this message mean?

It means Status Change is in an unsaved workbook and has references (formula
that reference) to other sheets in that book When you copied it to the new
workbook, it brought those references along with it so the new sheet is now
referring to data in an unsaved workbook (or Status Change was originally in
a saved workbook but had references to an unsaved workbook - in any event,
the copied sheet has references to an unsaved workbook).

--
Regards,
Tom Ogilvy

"Lulu" wrote in message
...
When user clicks button new file is created using
Do
fname = Application.GetSaveAsFilename
Loop Until fname < False
newbook.SaveAs Filename:=fname & "xls",
FileFormat:=xlNormal

Then top sheet of users file is copied to the new file
Sheets("Status Change").Copy Befo=Workbooks(fname
& "xls").Sheets(1)

this works fine.

But the I use
Workbooks(myfile & "xls").Save

and I get this message:
Save 'MyFile.xls'with references to unsaved documents?

what does this mean?

Thanks



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
message box Hein Excel Discussion (Misc queries) 2 October 21st 08 07:10 AM
#N/A Message Daviv Excel Discussion (Misc queries) 4 February 6th 07 11:33 PM
#N/A Message Daviv Excel Discussion (Misc queries) 2 February 6th 07 07:45 PM
changing the message in an error message The Villages DA Excel Worksheet Functions 2 February 18th 05 05:30 PM
Displaying a message in a message box without requiring user to click anything to proceed Android[_2_] Excel Programming 2 June 25th 04 06:44 PM


All times are GMT +1. The time now is 06:54 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"