Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Help with custom save as dialog box.

Hello, i am using the following code to promt the user to save a
workbook (so they dont overwrite the template, name of save is based on
cell b2.


Set wbDestination = Workbooks.Add
Excel.Application.Dialogs(xlDialogSaveAs).Show Range("b2")


It works fine unless i click cancel, it still saves the book (just
calling it book1) any way to make the cancel button actually cancel the
operation in my macro?


Any help is appreciated

Thank you

Troy

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
How to save a custom made header&footer HeintjeHB Excel Discussion (Misc queries) 3 June 29th 06 04:25 PM
How do I save a custom cell format that I created? mrs_teeks Excel Worksheet Functions 1 May 8th 06 03:55 AM
Save As from chart sheet maryj Charts and Charting in Excel 2 April 10th 06 04:26 PM
How to add tool buttons in custom header & footer dialog box? wbfree2 Setting up and Configuration of Excel 1 January 23rd 06 06:16 PM
Override save as Dialog box Raza Excel Worksheet Functions 2 December 16th 05 07:22 PM


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