Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default How can i insert data into sheet without going thruogh the undo buffer ?

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default How can i insert data into sheet without going thruogh the undo buffer ?

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
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 can buffer the row height of my data. RSB Excel Discussion (Misc queries) 1 April 15th 08 11:35 PM
Insert A Block of Data Into Another Sheet Dasha New Users to Excel 2 November 4th 07 03:23 PM
insert cell data from one sheet to another arvinylPE Excel Discussion (Misc queries) 4 October 10th 07 10:39 PM
How can I insert an undo button in the Web version of the Pivot Ta Martin sirois Excel Discussion (Misc queries) 0 April 10th 05 02:09 AM
Undo row insert from macro No Name Excel Programming 2 July 19th 04 10:54 PM


All times are GMT +1. The time now is 04:26 PM.

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"