![]() |
Leading the way in Microsoft Office Development |
| Home | | | Excel | | | Word | | | PowerPoint | | | Consultancy | | | Feedback | | | Contact |
| Microsoft Excel > Functions > External > REGISTER.ID |
REGISTER.ID(module_text, procedure, type_text) |
REGISTER.ID(file_text, resource, type_text) |
| Returns the register ID of the specified dynamic link library (DLL) or code resource that has been previously registered. If the DLL or code resource has not been registered, this function registers the DLL or code resource and then returns the register ID. |
| module_text | The name of the DLL that contains the procedure (for Windows). | |
| procedure | The name of the procedure in the DLL (for Windows). | |
| type_text | The text string specifying the data type of the return value. | |
| file_text | The name of the file that contains the code resource (for Macintosh). | |
| resource | The name of the procedure in the code resource (for Macintosh). |
| REMARKS |
| REGISTER.ID can be used on worksheets (unlike REGISTER), but you cannot specify a function name and argument names with REGISTER.ID. | ||
| Because Microsoft Excel for Windows and Microsoft Excel for the Macintosh use different types of code resources, REGISTER.ID has a slightly different syntax for each operating environment. | ||
| You can also use the ordinal value of the function from the EXPORTS statement in the module-definition file (.DEF). The ordinal value or resource ID number must not be in text form. | ||
| and the data types of all arguments to the DLL. The first letter of type_text specifies the return value. If the function or code resource is already registered, you can omit this argument. | ||
| You can also use the resource ID number. The ordinal value or resource ID number must not be in text form. |
| EXAMPLES |
|
| Functions - R | Index - R | Office Online |
| Copyright © 2004-2007 Better Solutions Limited. All Rights Reserved. | Top |