RC-WinTrans Object Model Help |
VBATool.RemoveUserMacros |
Removes a file with user macros from the VBA environment.
Syntax: |
RemoveUserMacros( FileName As String ) As Boolean |
Return: | Boolean |
Parameters: |
FileName File name of the user macros file to be removed.
|
Example: | Dim Tool As VBATool Dim Filename As String Set Tool = Application.Tools.VBATool Filename = Application.Tools.DirectoryTool.GetDefaultMacroPath & "NewMacros.macro" Call Tool.RemoveUserMacros(Filename) |
See also: