April 2006
Beginner
1114 pages
98h 16m
English
Application.RecordMacro([BasicCode], [XlmCode])
Sets the code for Excel to record if the user selects Tools → Macro → Record New Macro and then performs a task that runs this macro.
|
Argument |
Setting |
|---|---|
|
|
The string to record in place of the default |
|
|
Obsolete |
By default, Excel records Application.Run "
workbook
!
macro
" whenever a user runs a macro while recording. To prevent recording, set BasicCode to "" for the macro:
Sub SecretMacro( )
' Don't record this!
Application.RecordMacro ""
' Secret stuff...
End SubRead now
Unlock full access