Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
HI all!
i am trying to control the excel user interface by catching the Change event, and insert a bool value into an hidden column for each line in the sheet. my problem is that my hidden column is locked, and if user wants to undo his last change, he is actually tring to delete my inserted bool value (into my hidden column), and this action is forrbiden. furthermore, even if it is my column is unlocked, undo action will actually delete my inserted value before it will undo the user change. that's why i need an answer to my topic: How can i insert data into sheet without going thruogh the undo buffer ? Thanks a lot Tomer |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Actually, I would expect your code to clear the undo buffer so the users
action or your codes action can't be undone. What you should do is control the undo yourself. See OnUndo in Excel VBA help. See John Walkenbach's discussion at http://www.j-walk.com/ss/excel/tips/tip23.htm -- Regards, Tom Ogilvy "Tomer" wrote in message oups.com... HI all! i am trying to control the excel user interface by catching the Change event, and insert a bool value into an hidden column for each line in the sheet. my problem is that my hidden column is locked, and if user wants to undo his last change, he is actually tring to delete my inserted bool value (into my hidden column), and this action is forrbiden. furthermore, even if it is my column is unlocked, undo action will actually delete my inserted value before it will undo the user change. that's why i need an answer to my topic: How can i insert data into sheet without going thruogh the undo buffer ? Thanks a lot Tomer |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can buffer the row height of my data. | Excel Discussion (Misc queries) | |||
Insert A Block of Data Into Another Sheet | New Users to Excel | |||
insert cell data from one sheet to another | Excel Discussion (Misc queries) | |||
How can I insert an undo button in the Web version of the Pivot Ta | Excel Discussion (Misc queries) | |||
Undo row insert from macro | Excel Programming |