Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Undo row insert from macro

I have a macro that inserts rows and enters some default
data. When I do that, the undo menu in excel is grayed
out. I want to give the user the option to undo the
entry. When from a user defined menu. I tried
Application.undo but that got an error message.

Is what I want possible?

TIA
Glen
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Undo row insert from macro

Hi Glen,

You would need to write your own undo procedure. See:

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


---
Regards,
Norman
wrote in message
...
I have a macro that inserts rows and enters some default
data. When I do that, the undo menu in excel is grayed
out. I want to give the user the option to undo the
entry. When from a user defined menu. I tried
Application.undo but that got an error message.

Is what I want possible?

TIA
Glen



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Undo row insert from macro

Hi
not really possible with using a macro. The only way would be to create
you own 'Undo' functionality for your macro (e.g. storing the
column/sheet on a separate hidden sheet - probably not worth the
effort).

So in total: Using macros disables the 'Undo' functionality

--
Regards
Frank Kabel
Frankfurt, Germany

schrieb im Newsbeitrag
...
I have a macro that inserts rows and enters some default
data. When I do that, the undo menu in excel is grayed
out. I want to give the user the option to undo the
entry. When from a user defined menu. I tried
Application.undo but that got an error message.

Is what I want possible?

TIA
Glen


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
use macro and allow undo ben New Users to Excel 3 November 30th 08 10:11 AM
Undo a Macro Elise148 Excel Discussion (Misc queries) 1 June 14th 07 04:57 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 in EXCEL97 macro david[_9_] Excel Programming 2 July 12th 04 06:48 AM
Undo Macro Danny Excel Programming 1 June 28th 04 04:43 PM


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