Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,441
Default workbook before save

Baha,

Why not just use a template? Then any changes are saved in a copy, not your original.

HTH,
Bernie
MS Excel MVP


"Baha" wrote in message
...
oHi all,
I have a worksheet with one code making merged cells and too many borders. I
want after user runs that code, they don`t save any of that.So basically I
want when you next time open "sheet1" no meged cells,print area clear and no
borders How can I prevent that. I tried tried writing a code in
workbook_save_before event to reset all the changes,but most users they don`t
know much about excel so they might click on cancel when they receive this
message "The selection contains multiple data values.Merging into one cell
will keep the upper-left most data only" Because when u click on cancel
delivers, debug error, wich they will all panick they did something:) So how
can I make my code works in both way without receiving this debug VBA error.
Thank you very much
--
Regards,
Baha



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default workbook before save

How come I haven`t thought of that:)Thank you,I must have gone blind:)It will
make a lot better

--
Regards,
Baha


"Bernie Deitrick" wrote:

Baha,

Why not just use a template? Then any changes are saved in a copy, not your original.

HTH,
Bernie
MS Excel MVP


"Baha" wrote in message
...
oHi all,
I have a worksheet with one code making merged cells and too many borders. I
want after user runs that code, they don`t save any of that.So basically I
want when you next time open "sheet1" no meged cells,print area clear and no
borders How can I prevent that. I tried tried writing a code in
workbook_save_before event to reset all the changes,but most users they don`t
know much about excel so they might click on cancel when they receive this
message "The selection contains multiple data values.Merging into one cell
will keep the upper-left most data only" Because when u click on cancel
delivers, debug error, wich they will all panick they did something:) So how
can I make my code works in both way without receiving this debug VBA error.
Thank you very much
--
Regards,
Baha




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
Shared workbook - to save or not to save bluebird Excel Discussion (Misc queries) 1 November 14th 06 06:17 PM
delete workbook from one location and save workbook to new locatio Damien Excel Programming 5 August 3rd 06 03:05 PM
Select sheet tabs in workbook & save to separate workbook files stratocaster Excel Worksheet Functions 2 March 1st 06 03:35 PM
Using interop.excel to open a workbook, the workbook doesn't ask to save changes. [email protected] Excel Programming 1 December 28th 05 10:23 PM
What commands do you use to name a workbook, save a workbook,open a workbook Steven R. Berke Excel Programming 1 July 24th 03 11:37 PM


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