LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #10   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 762
Default Creating add-ins from Excel 4 macros

Graham -

My TreePlan decision tree add-in for Excel, available at www.treeplan.com,
is still 99% XLM code. However, I do plan to rewrite it completely in VBA
Real Soon Now.

Regarding Undo, see John Walkenbach's page "Undoing a VBA Subroutine,"

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

Also, see a current thread in this programming newsgroup (which you can
search using Google Groups): "Why Undo commandbutton is Cleared ?"

- Mike
www.mikemiddleton.com

"Graham" wrote in message
...
Mike,
Thank you. That works a treat. So simple! I feel a bit of a fool for
not
thinking of it myself.
Incidentally, when you wrote "What I do..." does that imply that you still
use Excel 4 macros yourself? If so, I wonder if you know any way of
preventing them from disabling the multiple undo facility? When an Excel
4
macro is running which responds to entries by the user by writing data to
a
spreadsheet, Excel only seems to permit a single action to be undone.
Pressing Ctrl+Z undoes the last thing the macro did, not the last thing
the
user did, and pressing Ctrl+Z a second time has no effect. So in
practice,
the undo facility is disabled completely.
I had hoped that saving the macro as an add-in would solve this problem,
but
I just tried out a little test macro saved as an add-in using your method,
and I find it doesn't. I'd be grateful for any suggestions.
Many thanks to you and to Tom Ogilvy for your time and expertise.
Best wishes,
Graham





 
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
EXCEL 2007 CREATING A MACROS FIEGEHENK New Users to Excel 2 June 30th 09 12:31 AM
creating macros in excel ryanzoo06 Excel Discussion (Misc queries) 1 May 15th 07 07:43 PM
creating excel macros Dick Excel Worksheet Functions 0 June 2nd 06 06:56 PM
Creating a .EXE to run excel macros Hemanth[_2_] Excel Programming 5 January 6th 06 08:43 PM
creating macros in excel LisaVan Excel Programming 1 March 8th 05 10:05 PM


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