#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default OnUndo

Hello,

I have a piece of code that runs in the worksheet_Change event. I change
the target.value in the code. My question is that I want to create an undo
for this. I need the value of target prior to the code being run. Any
ideas?

Thanks,
Ernst.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default OnUndo

Hi Ernst,

See JohnWalkenbach's Undo page:

http://www.j-walk.com/ss/excel/tips/tip23.htm

---
Regards,
Norman



wrote in message
...
Hello,

I have a piece of code that runs in the worksheet_Change event. I change
the target.value in the code. My question is that I want to create an
undo
for this. I need the value of target prior to the code being run. Any
ideas?

Thanks,
Ernst.



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
Application.OnUndo Questions - Loses Prior Undo's and Runs 1x Tom Ogilvy Excel Programming 0 August 27th 03 01:26 PM


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