Purpose
This method records code if the macro recorder is on.
Syntax
RecordMacro(BasicCode, XlmCode)
Optional Parameters
BasicCode
A string that specifies the Visual Basic code that will be recorded if the macro recorder is recording into a Visual Basic module. The string will be recorded on one line. If the string contains a carriage return (ASCII character 10, or Chr$(10) in code), it will be recorded on more than one line.
XlmCode
This argument is ignored.