Method names carry a prefix according to the Microsoft Excel object to which the method relates:
Each method updates a return code. The possible values for this return code are:
"0" |
methods executed successfully, |
"1" |
execution failed, |
other value |
execution failed: the return code will contain a Win32 API error code. |
Note: If a cell is in the process of being printed or a dialog box is being displayed by Microsoft Excel when a method is executed, the method will fail.