RC-WinTrans Object Model Help |
Class VBATool |
The "VBATool" object provides methods useful in the VBA environment.
Member | Description | |
---|---|---|
AddUserMacros | Adds an existing file with user macros. AddUserMacros( FileName As String, Name As String ) As Boolean
|
|
CreateUserMacros | Creates a new file with user macros. CreateUserMacros( FileName As String, Name As String ) As Boolean
|
|
GetAllStringsFromEnumeration | This method saves all the descriptive strings of an RC-WinTrans enumeration in the "StringArray" parameter and returns whether the action was successful. GetAllStringsFromEnumeration(EnumerationName As String,
StringArray As Variant ) As Boolean |
|
GetEnumValueFromString | This method scans the given RC-WinTrans enumeration for the given string and provides the enum value. It returns whether the scan was successful. GetEnumValueFromString( EnumerationName As String,
EnumStringValue As String, EnumValue As Variant ) As Boolean |
|
GetStringFromEnumValue | This method scans the given RC-WinTrans enumeration for the given enum value and provides the string. It returns whether the scan was successful. GetStringFromEnumValue( EnumerationName As String,
EnumValue As Long, EnumString As Variant) As Boolean |
|
GetUserMacrosFilenames | Returns all the file names of the user macros available in the VBA environment. GetUserMacrosFilenames(FilenameArray As Variant)
|
|
RemoveUserMacros | Removes a file with user macros from the VBA environment. RemoveUserMacros( FileName As String ) As Boolean
|
|
RunFunction | Runs the given function in the given module and macro file. The return value of this function is the return value of the VBA function called. RunFunction( ProjectName As String, ModuleName As String,
FunctionName As String, ParametersArray As Variant ) As Variant |
|
RunMacro | Runs the given macro in the given module and macro file. If the call was succesfull the method returns "True", otherwise "False." RunMacro( ProjectName As String, ModuleName As String,
MacroName As String, ParametersArray As Variant ) As Boolean |
|
SaveUserMacros | Saves the user macros file with the given file name. SaveUserMacros( SourceFilename, TargetFilename ) As Boolean
|