Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 143
Default On Save Procedure Conumrum

I am almost done with this project. I have tested it thoroughly.

I even did a lot of testing of the Save event handler. Then I commented out
that entire sub to test the rest and make final adjustments. The Save
procedure denies letting the user save the file or to save a copy of the
file without removing all the code.

Now, I need to uncomment the Save procedure and then Save the workbook. But
if I do, I get caught in that procedure and can't save it with the code
intact.

Any suggestions about handling this conundrum?



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 104
Default On Save Procedure Conumrum

Ken,

Open the workbook.
When the disable/enable macros dialog comes up, press & hold Shift and click
on enable.
You can now uncomment your code.
DO NOT RUN THE CODE.
Save the workbook.
Next time you open your workbook, it'll all work for you.

Henry

"Ken Loomis" wrote in message
...
I am almost done with this project. I have tested it thoroughly.

I even did a lot of testing of the Save event handler. Then I commented
out that entire sub to test the rest and make final adjustments. The Save
procedure denies letting the user save the file or to save a copy of the
file without removing all the code.

Now, I need to uncomment the Save procedure and then Save the workbook.
But if I do, I get caught in that procedure and can't save it with the
code intact.

Any suggestions about handling this conundrum?





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
Stop a Procedure from another procedure Ayo Excel Discussion (Misc queries) 1 October 30th 08 01:42 AM
Calling a procedure in a procedure Norman Jones Excel Programming 8 August 20th 04 07:53 PM
Calling a procedure in a procedure N10 Excel Programming 2 August 18th 04 12:49 AM
Calling a procedure in a procedure Don Guillett[_4_] Excel Programming 1 August 17th 04 11:31 PM


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