Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Record Macro - Record custom user actions

Is there a way to have Excel record custom user actions (say like a
user executing a Addin function by clicking on a custom toolbar button)
in addition to standard Excel actions during macro recording?

I know you can program VBA code that adds/deletes/edits VBA code using
VBA objects like 'VBIDE' & 'VBProject.VBComponents'.
So if not explicitly, can this be done as a 'hack' by implementing VBA
code that writes VBA code?... so during 'Record Macro' it would add my
own code to that which Excel is recording programmetically based on the
user executed custom calls that i can detect?
Thanks in advance.
Salvatore Anzalone

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Record Macro - Record custom user actions

After further research, i realized it can in fact be done without using
'VBIDE' & 'VBProject.VBComponents'.

The built in excel VBA command is 'Application.RecordMacro([code to
record])'.

See Excel VBA help for 'Application.RecordMacro' for more info.
thankyou to me!

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
Open new record with selected fields from previous record Design by Sue Excel Discussion (Misc queries) 1 June 12th 09 02:24 PM
User Record nabanco Excel Worksheet Functions 5 September 29th 07 12:38 PM
Macro to record user name and date/time Maddoktor Excel Discussion (Misc queries) 0 December 8th 05 10:03 PM
Move to Next Record with User Form CindyK Excel Programming 2 November 5th 04 05:40 PM
Need help autopopulating next new record with previous record data Harry S[_3_] Excel Programming 2 October 1st 03 10:59 PM


All times are GMT +1. The time now is 12:21 AM.

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"