THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng | |
---|---|
Số trang | 59 |
Dung lượng | 685,83 KB |
Nội dung
Ngày đăng: 14/08/2014, 06:22
Nguồn tham khảo
Tài liệu tham khảo | Loại | Chi tiết | ||
---|---|---|---|---|
8.11.6 Getting the definition of a named range: xlfGetNameOverview: Returns the definition of a given named range as text. The output of the function depends on where the input range is defined and on whether the range was defined on the active sheet.Enumeration value: 107 (x6b) Callable from: Commands only.Return type: xltypeStr or xltypeErrArguments: 1: Name: A string satisfying the rules in section 8.11.1. (See table below for examples.) | Sách, tạp chí |
|
||
2: ReturnedInfo: A number specifying the type of information to return about the name. If 1 or omitted, returns the name’s definition (see following table for details). If 2, returns a Boolean which is true if the scope of the name is limited to the current sheet | Sách, tạp chí |
|
||
8.11.7 Getting the defined name of a range of cells: xlfGetDefOverview: Returns the defined name of a range of cells (or other nameable object) given the corresponding range as text (or object ID). If no name corresponds to the reference provided, it returns #NAME? . Enumeration value: 145 (x91)Callable from: Commands and macro sheet functions.Return type: xltypeStr or xltypeErrArguments: 1: DefinitionText: A text representation of anything that a name can be assigned to. If a range of cells, then the range address must be expressed in R1C1 form | Sách, tạp chí |
|
||
2: DocumentText: The name of the sheet in the current workbook containing the object or range specified inDefinitionText. If omitted the sheet is assumed to be the DLL, i.e., the function returns the internal name if it exists | Sách, tạp chí |
|
||
3: TypeNum: A number indicating the type of name to find. 1 or omitted will only search for names that are not hidden, 2 only for names that are hidden and 3 for all names.Where the range name is defined on a worksheet, the first argument should be passed as in the following code fragment, which places the name, if it exists, or #NAME? in RetVal :cpp_xloper Address("R1C1"); // Cell A1 cpp_xloper Sheet("Sheet1");cpp_xloper RetVal;RetVal.Excel(xlfGetDef, 2, &Address, &Sheet);Where the range name is defined within the DLL, only the first argument should be provided as in the following code fragment:cpp_xloper Address("[Book1.xls]Sheet1!R1C1");cpp_xloper RetVal;RetVal.Excel(xlfGetDef, 1, &Address) | Sách, tạp chí |
|
||
8.11.8 Getting a list of named ranges: xlfNamesOverview: Returns a horizontal array of all the names defined in the specified workbook. (Unfortunately, this function does not return Excel names created within the DLL using xlfSetName . For this reason the DLL should maintain an internal list of the hidden DLL names it has created.)If no names match the criteria, the function returns #N/A . Enumeration value: 122 (x7a)Callable from: Commands and macro sheet functions.Return type: xltypeMulti row vector of xltypeStrArguments: 1: Workbook/Worksheet: (Optional.) A string in the form Book1.xls or [Book1.xls]Sheet1 . If omitted the current workbook is searched | Sách, tạp chí |
|
||
8.11.5 Deleting a worksheet name: xlcDeleteNameOverview: Deletes a defined worksheet name. Once this operation has completed, any cells that reference the deleted name will return the #NAME? error.The function performs the same operation as if the user had selected the menu option Insert/Name/Define . . . and deleted the name in the Define Name dialog.Enumeration value: 32878 (x806e) | Khác |
TỪ KHÓA LIÊN QUAN
TÀI LIỆU CÙNG NGƯỜI DÙNG
TÀI LIỆU LIÊN QUAN