Команды functions
[ ] indicates optional parameters
АКТИВИЗИРОВАТЬ([заголовок_окна], [номер_подокна])
АКТИВНАЯ.ЯЧЕЙКА()
ВВОД(текст_сообщения, [ном_типа], [назван_текст], [по_умолчанию], [x_поз], [y_поз], [ссылка_на_справку])
ВСТАВИТЬ([ссылка_куда_вставлять])
ВЫДЕЛЕНИЕ()
ВЫДЕЛИТЬ([выделенное], [активная_ячейка])
ВЫДЕЛИТЬ.ДО.КОНЦА(direction_num)
ВЫДЕЛИТЬ.ПОСЛЕДНЮЮ.ЯЧЕЙКУ()
ВЫЗЫВАЮЩИЙ()
ВЫРЕЗАТЬ([из_ссылки], [ссылка_куда_вставлять])
ВЫСОТА.СТРОКИ([высота_числ], [ссылка], [стандартная_высота], [тип_число])
ВЫЧИСЛИТЬ(текст_формулы)
ВЫЧИСЛИТЬ.ДОКУМЕНТ()
ВЫЧИСЛИТЬ.СЕЙЧАС()
ЗАПОЛНИТЬ.ВВЕРХ()
ЗАПОЛНИТЬ.ВЛЕВО()
ЗАПОЛНИТЬ.ВНИЗ()
ЗАПОЛНИТЬ.ВПРАВО()
ЗАЩИТИТЬ.ДОКУМЕНТ([содержимое], [окна], [пароль], [объекты], [сценарии])
КОПИРОВАТЬ([из_ссылки], [ссылка_куда_вставлять])
ПО.ЛИСТУ([текст_листа], [макрос_текст], [флаг_активации])
ПОДБОР.ПАРАМЕТРА(целевая_ячейка, целевое_значение, переменная_ячейка)
ПОЛУЧИТЬ.ОБЪЕКТ(ном_типа, [идр_объекта], [нач_ном], [ном_счет], [индекс_элемента])
ПОМЕСТИТЬ([сдвиг_ном])
ПОМЕСТИТЬ.В.РАБОЧУЮКНИГУ([ном_типа])
ПРАВКА.УДАЛИТЬ([сдвиг_ном])
ПРЕДУПРЕЖДЕНИЕ(текст_сообщения, [ном_типа], [ссылка_на_справку])
ПРОГРЕССИЯ([строки_или_столбцы], [номер_типа], [дата_номера], [значение_шага], [кон_знач], [направление])
РАБОЧАЯ.КНИГА.АКТИВИЗИРОВАТЬ(текст_листа)
РАБОЧАЯ.КНИГА.ИМЯ(старый_текст, новый_текст)
РАБОЧАЯ.КНИГА.УДАЛИТЬ([текст_листа])
СВОЙСТВА.ШРИФТА([шрифт], [стиль_шрифта], [размер], [перечеркнуть], [верхний_индекс], [нижний_индекс], [контур], [затенение], [подчеркнутый], [цвет], [обычный], [фон], [нач_символ], [число_символов])
СИГНАЛ([тон_число])
СОРТИРОВКА([ориентация], [ключ1], [порядок1], [ключ2], [порядок2], [ключ3], [порядок3], [верхний_колонтитул], [настройка], [регистр])
СПЕЦИАЛЬНАЯ.ВСТАВКА([ном_вставки], [номер_операции], [пропуск_пустых], [перестановка])
ССЫЛЗНАЧ(ссылка)
ССЫЛТЕКСТ(ссылка, [а1])
СТЕРЕТЬ([ном_типа])
ТЕКСТССЫЛ(текст, [а1])
ФОРМА.ДАННЫХ()
ФОРМАТ.ЧИСЛО(строка_форматирования)
ФОРМУЛА(текст_формулы, [ссылка])
ФОРМУЛА.ПЕРЕЙТИ([ссылка], [угол])
ШИРИНА.СТОЛБЦА([ширина_число], [ссылка], [стандартный], [тип_число], [стандарт_число])
Команды functions
АКТИВИЗИРОВАТЬ([заголовок_окна], [номер_подокна])
Specifies the workbook, sheet and/or pane that is to be active.
заголовок_окна | The workbook and/or sheet name. If this parameter is omitted then the active window is not changed. |
номер_подокна | For a split window, specifies which pane is to be active. The possible values are: |
|
1 | Upper or upper left. |
2 | Upper right. |
3 | Lower or lower left. |
4 | Lower right. |
|
| If this parameter is omitted it then the active pane is not changed. |
АКТИВНАЯ.ЯЧЕЙКА()
Returns a reference which represents the current position of the cursor on the active worksheet.
ВВОД(текст_сообщения, [ном_типа], [назван_текст], [по_умолчанию], [x_поз], [y_поз], [ссылка_на_справку])
Displays a message in a dialog box with an area for user input and ОК and Отмена buttons. If the ОК button is pressed then the text entered by the user is returned. If the Отмена button is pressed then this function returns the value ЛОЖЬ.
текст_сообщения | The message that you want displayed in the dialog box. |
ном_типа | The acceptable data type(s) for the data that you want returned. It can be any combination of the following (to specify more than one value, add the numbers together): |
|
0 | Формула |
1 | Число |
2 | Текст |
4 | Логические |
8 | Ссылка |
16 | Ошибка |
64 | массив |
|
| If this parameter is omitted it defaults to 2. |
назван_текст | The title to be used for the dialog box. If this parameter is omitted it defaults to "Ввод". |
по_умолчанию | The text that you want to be initially displayed in the input area of the dialog box. If this parameter is omitted the input area will be blank. |
x_поз | The initial x position on the screen where the dialog box will be displayed. If this parameter is omitted it defaults to the center of the screen. (Not currently supported). |
y_поз | The initial y position on the screen where the dialog box will be displayed. If this parameter is omitted it defaults to the center of the screen. (Not currently supported). |
ссылка_на_справку | The name of help topic that is to be displayed if the user presses the Help button in the dialog box. If this parameter is omitted then no Help button is displayed. (Not currently supported). |
ВСТАВИТЬ([ссылка_куда_вставлять])
Simulates the Правка Вставить menu option.
ссылка_куда_вставлять | The cells where the copied information is to be pasted. If this parameter is omitted it defaults to the current selection on the active worksheet. |
ВЫДЕЛЕНИЕ()
Returns a reference which represents the current selection on the active worksheet.
ВЫДЕЛИТЬ([выделенное], [активная_ячейка])
Sets the selection and cursor cell on the active worksheet.
выделенное | The cells that are to be the selection. If this parameter is omitted the current selection is not changed. |
активная_ячейка | The cell that is to be the cursor cell. If this parameter is omitted it defaults to the top left cell in the selection. |
ВЫДЕЛИТЬ.ДО.КОНЦА(номер_направления)
Simulates the Ctrl+arrow key combination.
номер_направления | The direction in which to move the cursor. The possible values are: |
|
1 | влево |
2 | вправо |
3 | вверх |
4 | вниз |
|
ВЫДЕЛИТЬ.ПОСЛЕДНЮЮ.ЯЧЕЙКУ()
Simulates the Ctrl+End key combination.
ВЫЗЫВАЮЩИЙ()
Returns information about the caller of the macro.
Macro called from: | Function returns: |
user-defined function | reference of cell containing function call |
user-defined function in array formula | reference of array formula range |
attached to control or drawing object | object identifier |
manually (control key combination) | error value #ССЫЛКА! |
ВЫРЕЗАТЬ([из_ссылки], [ссылка_куда_вставлять])
Simulates the Правка Вырезать menu option.
из_ссылки | The cells that are to be cut to the clipboard. If this parameter is omitted it defaults to the current selection on the active worksheet. |
ссылка_куда_вставлять | The cells where the cut information is to be pasted. If this parameter is omitted then the cells are not pasted. |
[высота_числ], [ссылка], [стандартная_высота], [тип_число]
Simulates the Формат Строка menu options.
высота_числ | The new height of the rows. The height is measured in points. This parameter is ignored if стандартная_высота is ИСТИНА or тип_число is specified. If this parameter is omitted the height of the specified rows is not changed. |
ссылка | The rows whose height is to be changed. If this parameter is omitted it defaults to the current selection on the active worksheet. |
стандартная_высота | Specifies whether the rows are to be set to the standard row height. The possible values are: |
|
ИСТИНА | The rows are set to the standard height. |
ЛОЖЬ | The rows are not set to the standard height. |
|
| If this parameter is omitted it defaults to ЛОЖЬ. |
тип_число | Specifies whether the rows are to be hidden, unhidden or automatically sized. This parameter is ignored if стандартная_высота is TRUE. The possible values are: |
|
1 | The rows are hidden. |
2 | The rows are unhidden. |
3 | The rows are set to the height of the highest displayed value. |
|
| If this parameter is omitted the rows will not be hidden, unhidden or auto-sized. |
ВЫЧИСЛИТЬ(текст_формулы)
Returns the result of evaluating a formula.
текст_формулы | The formula to be evaluated. |
ВЫЧИСЛИТЬ.ДОКУМЕНТ()
Causes the current worksheet to be recalculated.
ВЫЧИСЛИТЬ.СЕЙЧАС()
Causes all worksheets to be recalculated.
ЗАПОЛНИТЬ.ВВЕРХ()
Simulates the Правка Заполнение Вверх menu option.
ЗАПОЛНИТЬ.ВЛЕВО()
Simulates the Правка Заполнение Влево menu option.
ЗАПОЛНИТЬ.ВНИЗ()
Simulates the Правка Заполнение Вниз menu option.
ЗАПОЛНИТЬ.ВПРАВО()
Simulates the Правка Заполнение Вправо menu option.
ЗАЩИТИТЬ.ДОКУМЕНТ([содержимое], [окна], [пароль], [объекты], [сценарии])
Simulates the Формат Лист Защитить menu option.
содержимое | Whether to protect the locked cell contents. The possible values are: |
|
ИСТИНА | The locked cell contents are protected |
ЛОЖЬ | The locked cell contents are unprotected |
|
| If this parameter is omitted it defaults to ИСТИНА. |
окна | Whether to protect windows from being moved or sized (not currently implemented). The possible values are: |
|
ИСТИНА | The windows are protected |
ЛОЖЬ | The windows are unprotected |
|
| If this parameter is omitted it defaults to ЛОЖЬ. |
пароль | An optional case-sensitive password to protect or unprotect the document. |
объекты | Whether to protect the locked objects (not currently implemented). The possible values are: |
|
ИСТИНА | The locked objects are protected |
ЛОЖЬ | The locked objects are unprotected |
|
| If this parameter is omitted it defaults to ИСТИНА. |
сценарии | Whether to protect the scenarios (not currently implemented). The possible values are: |
|
ИСТИНА | The scenarios are protected |
ЛОЖЬ | The scenarios are unprotected |
|
| If this parameter is omitted it defaults to ИСТИНА. |
КОПИРОВАТЬ([из_ссылки], [ссылка_куда_вставлять])
Simulates the Правка Копировать menu option.
из_ссылки | The cells that are to be copied to the clipboard. If this parameter is omitted it defaults to the current selection on the active worksheet. |
ссылка_куда_вставлять | The cells where the copied information is to be pasted. If this parameter is omitted then the cells are not pasted. |
ПО.ЛИСТУ([текст_листа], [макрос_текст], [флаг_активации])
Specifies a macro to be run when a sheet is activated or deactivated.
текст_листа | The name of the sheet for which the macro is to be run. If this parameter is omitted then the macro will be run for all sheets. |
макрос_текст | The defined name that refers to the macro that is to be run. If this parameter is omitted then no macro will be run. |
флаг_активации | Specifies whether the macro is to be run when the sheet is activated or deactivated. The possible values are: |
|
ИСТИНА | The macro will be run when the sheet is activated. |
ЛОЖЬ | The macro will be run when the sheet is deactivated. |
|
| If this parameter is omitted it defaults to ИСТИНА. |
ПОДБОР.ПАРАМЕТРА(целевая_ячейка, целевое_значение, переменная_ячейка)
Simulates the Формат Данные Подбор параметра menu option.
целевая_ячейка | The cell that is required to be a certain value. It must be a single cell containing a formula that returns a numeric result. |
целевое_значение | The value that the target cell needs to reach. |
переменная_ячейка | The cell whose value can be changed. It must be a single cell that either contains a number or is empty. |
ПОЛУЧИТЬ.ОБЪЕКТ(ном_типа, [идр_объекта], [нач_ном], [ном_счет], [индекс_элемента])
Returns information about the specified object.
ном_типа | The type of information to return. The possible values are: |
|
1 | object type as number: |
| 1 линии |
| 2 прямоугольника |
| 3 овала |
| 6 надписи |
| 7 кнопки |
| 11 флажка |
| 12 переключателя |
| 14 подписи |
| 16 счетчика |
| 17 полосы прокрутки |
| 18 списка |
| 19 группы |
| 20 раскрывающегося списка |
2 | locked |
3 | z-order |
4 | top-left cell as R1C1 reference |
5 | x-offset of top-left corner in points |
6 | y-offset of top-left corner in points |
7 | bottom-right cell as R1C1 reference |
8 | x-offset of bottom-right corner in points |
9 | y-offset of bottom-right corner in points |
10 | reference of the macro as text |
11 | object positioning as number: |
| 1 перемещать и изменять объект вместе с ячейками |
| 2 перемещать, но не изменять размеры |
| 3 не перемещять и не изменять размеры |
12 | object text from start_num for count_num characters |
|
идр_объекта | The object identifier. If this parameter is omitted it defaults to the currently selected object on the active worksheet. |
нач_ном | The text substring start position for type_num 12. If this parameter is omitted it defaults to 1. |
ном_счет | The text substring length for type_num 12. If this parameter is omitted it defaults to 255. |
индекс_элемента | This parameter is not currently used. |
ПОМЕСТИТЬ([сдвиг_ном])
Simulates the Вставка Ячейки menu option.
сдвиг_ном | The way in which the cell insertion is to be processed. The possible values are: |
|
1 | со сдвигом вправо |
2 | со сдвигом вниз |
3 | строку |
4 | столбец |
|
| If this parameter is omitted it defaults to 2. |
ПОМЕСТИТЬ.В.РАБОЧУЮКНИГУ([ном_типа])
Adds a new sheet to the workbook.
ном_типа | The type of sheet that is to be added. The possible values are: |
| |
| If this parameter is omitted it defaults to the type of the currently active sheet. |
ПРАВКА.УДАЛИТЬ([сдвиг_ном])
Simulates the Правка Удалить menu option.
сдвиг_ном | The way in which the cell deletion is to be processed. The possible values are: |
|
1 | со сдвигом влево |
2 | со сдвигом вверх |
3 | строку |
4 | столбец |
|
| If this parameter is omitted it defaults to 2. |
ПРЕДУПРЕЖДЕНИЕ(текст_сообщения, [ном_типа], [ссылка_на_справку])
Displays a message box containing the specified text. It returns ИСТИНА if the ОК button is pressed, otherwise ЛОЖЬ.
текст_сообщения | The text to be displayed in the message box. |
ном_типа | The type of message box to be displayed. The possible values are: |
|
1 | A box containing a question mark icon and ОК and Отмена buttons. |
2 | A box containing an information icon and an ОК button. |
3 | A box containing an exclamation icon and an ОК button. |
|
| If this parameter is omitted it defaults to 2. |
ссылка_на_справку | A reference to a Help topic (not currently implemented). |
ПРОГРЕССИЯ([строки_или_столбцы], [номер_типа], [дата_номера], [значение_шага], [кон_знач], [направление])
Simulates the Правка Заполнение Прогрессия menu option.
строки_или_столбцы | Indicates whether the series is in rows or columns. The possible values are: |
| |
| If this parameter is omitted it defaults depending on the shape of the current selection. |
номер_типа | The way in which the series values change. The possible values are: |
|
1 | арифметическая |
2 | геометрическая |
3 | даты |
4 | автозаполнение (not currently implemented) |
|
| If this parameter is omitted it defaults to 1. |
дата_номера | The way in which the date values change. The possible values are: |
|
1 | день |
2 | рабочий день |
3 | месяц |
4 | год |
|
| If this parameter is omitted it defaults to 1. |
значение_шага | The number used to add to or multiply by the series value. If this parameter is omitted it defaults to 1. |
кон_знач | The value at which to stop filling the series. If this parameter is omitted then the entire selection is filled. |
направление | Indicates whether to fill the series using trend values calculated from existing data. The possible values are: |
|
ЛОЖЬ | Don't use trend values. |
ИСТИНА | Use trend values (not currently implemented). |
|
| If this parameter is omitted it defaults to FALSE. |
РАБОЧАЯ.КНИГА.АКТИВИЗИРОВАТЬ(текст_листа)
Specifies the sheet that is to be the active worksheet.
текст_листа | The sheet that is to be the active worksheet. |
РАБОЧАЯ.КНИГА.ИМЯ(старый_текст, новый_текст)
Renames the specified sheet in the workbook.
старый_текст | The sheet that is to be renamed. |
новый_текст | The new name for the sheet. |
РАБОЧАЯ.КНИГА.УДАЛИТЬ([текст_листа])
Deletes the specified sheet from the workbook.
текст_листа | The sheet that is to be deleted. If this parameter is omitted it defaults to the currently active sheet. |
СВОЙСТВА.ШРИФТА([шрифт], [стиль_шрифта], [размер], [перечеркнуть], [верхний_индекс], [нижний_индекс], [контур], [затенение], [подчеркнутый], [цвет], [обычный], [фон], [нач_символ], [число_символов])
Formats the cells in the selection on the current worksheet using the specified font attributes.
шрифт | The name of the font to be used. |
стиль_шрифта | The style to be used. The possible values are: |
|
"обычный" | Removes the bold and italic attributes. |
"полужирный" | Sets the font to bold. |
"курсив" | Sets the font to italic. |
"полужирный курсив" | Sets the font to bold and italic. |
|
| If this parameter is omitted the style is not changed. |
размер | The point size to be used. If this parameter is omitted the size is not changed. |
перечеркнуть | Sets the strikethrough attribute. The possible values are: |
|
ЛОЖЬ | The font does not have the strikethrough attribute |
ИСТИНА | The font has the strikethrough attribute |
|
| If this parameter is omitted the strikethrough attribute is not changed. |
верхний_индекс | Not currently implemented. |
нижний_индекс | Not currently implemented. |
контур | Not currently implemented. |
затенение | Not currently implemented. |
подчеркнутый | The underline style to be used. The possible values are: |
|
0 | Нет |
1 | Одинарное, по значению |
2 | Двойное, по значению (not currently implemented) |
3 | Одинарное, по ячейке (not currently implemented) |
4 | Двойное, по ячейке (not currently implemented) |
|
| If this parameter is omitted the underline style is not changed. |
цвет | The color to be used. The possible values are: |
|
0 | Automatic |
1 to 56 | One of the colors displayed in the Формат Ячейки Шрифт dialog box |
|
| If this parameter is omitted the color is not changed. |
обычный | Not currently implemented. |
фон | Not currently implemented. |
нач_символ | Not currently implemented. |
число_символов | Not currently implemented. |
СИГНАЛ([тон_число])
Causes the computer to beep.
тон_число | A number from 1 to 4 indicating which type of beep is to be produced (not currently implemented - all values will produce the same tone). If this parameter is omitted it defaults to 1. |
СОРТИРОВКА([ориентация], [ключ1], [порядок1], [ключ2], [порядок2], [ключ3], [порядок3], [верхний_колонтитул], [настройка], [регистр])
Simulates the Формат Данные Сортировка menu option.
ориентация | Specifies whether to sort the rows or columns. The possible values are: |
| |
| If this parameter is omitted it defaults to 1. |
ключ1 | Specifies a reference to the first column or row to sort on. If this parameter is omitted it defaults to the first column or row in the selection. |
порядок1 | Specifies whether to sort the data in ascending or descending order. The possible values are: |
|
1 | по возрастанию |
2 | по убыванию |
|
| If this parameter is omitted it defaults to 1. |
ключ2 | Specifies a reference to the second column or row to sort on. If this parameter is omitted then the second key is not used. |
порядок2 | Specifies whether to sort the data in ascending or descending order. The possible values are: |
|
1 | по возрастанию |
2 | по убыванию |
|
| If this parameter is omitted it defaults to 1. |
ключ3 | Specifies a reference to the third column or row to sort on. If this parameter is omitted then the third key is not used. |
порядок3 | Specifies whether to sort the data in ascending or descending order. The possible values are: |
|
1 | по возрастанию |
2 | по убыванию |
|
| If this parameter is omitted it defaults to 1. |
верхний_колонтитул | Specifies whether the selected cells include a header row or column. The possible values are: |
|
0 | Determine the presence of a header automatically |
1 | There is a header |
2 | There is no header |
|
| If this parameter is omitted it defaults to 2. |
настройка | Specifies whether to use a custom list for the first sort key. The possible values are: |
|
1 | Use normal sort sequence |
2 | Day short names |
3 | Day long names |
4 | Month short names |
5 | Month long names |
|
| If this parameter is omitted it defaults to 1. |
регистр | Specifies whether the sort should be case-sensitive. The possible values are: |
|
ИСТИНА | The sort is case-sensitive |
ЛОЖЬ | The sort is not case-sensitive |
|
| If this parameter is omitted it defaults to ЛОЖЬ. |
СПЕЦИАЛЬНАЯ.ВСТАВКА([ном_вставки], [номер_операции], [пропуск_пустых], [перестановка])
Simulates the Правка Специальная вставка menu option.
ном_вставки | The type of information to be pasted. The possible values are: |
|
1 | все |
2 | формулы |
3 | значения |
4 | форматы |
5 | примечания |
6 | без рамки |
|
| If this parameter is omitted it defaults to 1. |
номер_операции | The way in which the data being pasted is merged with existing data. The possible values are: |
|
1 | нет |
2 | сложить |
3 | вычесть |
4 | умножить |
5 | разделить |
|
| If this parameter is omitted it defaults to 1. |
пропуск_пустых | Whether to ignore blank cells in the data being pasted. The possible values are: |
|
ЛОЖЬ | Blank cells are included. |
ИСТИНА | Blank cells are skipped. |
|
| If this parameter is omitted it defaults to ЛОЖЬ. |
перестановка | Whether to transpose the data being pasted. The possible values are: |
|
ЛОЖЬ | Data is not transposed. |
ИСТИНА | Data is transposed. (Not currently supported) |
|
| If this parameter is omitted it defaults to ЛОЖЬ. |
ССЫЛЗНАЧ(ссылка)
Returns the values of cells in a reference. You should not need to use this function, as references are automatically converted to values where necessary when they are used in formulas.
ссылка | The reference to the cells whose values you want. |
ССЫЛТЕКСТ(ссылка, [а1])
Returns a string containing the specified reference.
ссылка | The reference that is to be converted to text. |
а1 | Specifies the style of the reference. The possible values are: |
|
ЛОЖЬ | R1C1 style |
ИСТИНА | A1 style |
|
| If this parameter is omitted it defaults to ЛОЖЬ. |
СТЕРЕТЬ([ном_типа])
Simulates the Правка Очистить menu option.
ном_типа | The type of information to clear from the current selection on the active worksheet. The possible values are: |
|
1 | Clear all |
2 | Clear formats |
3 | Clear contents |
4 | Clear comments |
|
| If this parameter is omitted it defaults to 3. |
ТЕКСТССЫЛ(текст, [а1])
Returns a reference corresponding to the specified text.
текст | The string containing the reference. |
а1 | Specifies the style of the reference. The possible values are: |
|
ЛОЖЬ | R1C1 style |
ИСТИНА | A1 style |
|
| If this parameter is omitted it defaults to ЛОЖЬ. |
ФОРМА.ДАННЫХ()
Simulates the Формат Данные Форма menu option.
ФОРМАТ.ЧИСЛО(строка_форматирования)
Formats the cells in the selection on the current worksheet using the specified format.
строка_форматирования | The number format to be used. |
ФОРМУЛА(текст_формулы, [ссылка])
Enters the specified formula in the specified reference.
текст_формулы | The formula to be inserted. |
ссылка | The reference where formula to be inserted. If this parameter is omitted it defaults to the cursor position on the active worksheet. |
ФОРМУЛА.ПЕРЕЙТИ([ссылка], [угол])
Simulates the Правка Перейти menu option.
ссылка | The cells that are to be selected. If the sheet name is omitted then it defaults to the currently active sheet. If this parameter is omitted it defaults to the sheet and cells that were selected before the last goto command. |
угол | Specifies whether the top-left corner of the selection is to be placed in the top-left corner of the window. The possible values are: |
|
ЛОЖЬ | The sheet is not scrolled to move the selection to the top-left corner of the window. |
ИСТИНА | The sheet is scrolled to move the selection to the top-left corner of the window. |
|
| If this parameter is omitted it defaults to ЛОЖЬ. |
ШИРИНА.СТОЛБЦА([ширина_число], [ссылка], [стандартный], [тип_число], [стандарт_число])
Simulates the Формат Столбец menu options.
ширина_число | The new width of the columns. The width is measured in characters. This parameter is ignored if стандартный is ИСТИНА or type_num is specified. If this parameter is omitted the width of the specified columns is not changed. |
ссылка | The columns whose width is to be changed. If this parameter is omitted it defaults to the current selection on the active worksheet. |
стандартный | Specifies whether the columns are to be set to the standard column width. The possible values are: |
|
ИСТИНА | The columns are set to the standard width. |
ЛОЖЬ | The columns are not set to the standard width. |
|
| If this parameter is omitted it defaults to ЛОЖЬ. |
тип_число | Specifies whether the columns are to be hidden, unhidden or automatically sized. This parameter is ignored if стандартный is ИСТИНА. The possible values are: |
|
1 | The columns are hidden. |
2 | The columns are unhidden. |
3 | The columns are set to the width of the longest displayed value. |
|
| If this parameter is omitted the columns will not be hidden, unhidden or auto-sized. |
стандарт_число | Specifies the value to be used for the standard width. The width is measured in characters. If this parameter is omitted the standard width is not changed. |