Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Command to bypass the asking to save option


I am good on this stuff, just stuck on the bold portion..
Open a file on the network (works fine)
Find a tab in the file and copy it (works fine)
Open a new workbook and past the tab (works fine)



*Close the original file on network workbook and move to th
next…..Here is where the issue lies, when we try and close the fil
that we just copied from it asks the user if we want to save, well w
don’t want the user to have to answer no, we just want the code to sa
no and continue to loop on forward..

--
yazman0
-----------------------------------------------------------------------
yazman08's Profile: http://www.excelforum.com/member.php...fo&userid=2518
View this thread: http://www.excelforum.com/showthread.php?threadid=38674

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Command to bypass the asking to save option

Activeworkbook.Close SaveChanges:=False

--
Regards,
Tom Ogilvy

"yazman08" wrote in
message ...

I am good on this stuff, just stuck on the bold portion..
Open a file on the network (works fine)
Find a tab in the file and copy it (works fine)
Open a new workbook and past the tab (works fine)



*Close the original file on network workbook and move to the
next...Here is where the issue lies, when we try and close the file
that we just copied from it asks the user if we want to save, well we
don't want the user to have to answer no, we just want the code to say
no and continue to loop on forward.. *


--
yazman08
------------------------------------------------------------------------
yazman08's Profile:

http://www.excelforum.com/member.php...o&userid=25187
View this thread: http://www.excelforum.com/showthread...hreadid=386749



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 as .xla option is not coming when I try to save Parag Excel Discussion (Misc queries) 3 January 28th 09 06:28 AM
Command Button Save As Application.ExecuteExcel4Macro ("SAVE.AS?() Paul Dennis Excel Discussion (Misc queries) 5 September 18th 06 05:34 PM
No Save As option confuseduser Excel Discussion (Misc queries) 1 January 28th 05 01:06 AM
Specify a default file name in VB when the Save / Save As command. SMAN Excel Programming 1 September 14th 04 12:23 PM
Command/option/spin button - no control menu available Daniel[_7_] Excel Programming 3 March 5th 04 03:02 PM


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