Команды functions
[ ] indicates optional parameters
АБССЫЛ(ссылка_на_текст, ссылка)
АКТИВИЗИРОВАТЬ([заголовок_окна], [номер_подокна])
АКТИВИЗИРОВАТЬ.ПРЕДЫДУЩИЙ([рабочая_книга_текст])
АКТИВИЗИРОВАТЬ.СЛЕДУЮЩИЙ([рабочая_книга_текст])
АКТИВНАЯ.ЯЧЕЙКА()
ВВОД(текст_сообщения, [ном_типа], [назван_текст], [по_умолчанию], [x_поз], [y_поз], [ссылка_на_справку])
ВПРОКРУТКА(положение, [строка_логическая])
ВСТАВИТЬ([ссылка_куда_вставлять])
ВСТРАНИЦА([число_окон])
ВСТРОКА([колич_строк])
ВЫДЕЛЕНИЕ()
ВЫДЕЛИТЬ([выделенное], [активная_ячейка])
ВЫДЕЛИТЬ([текст_идентификатора_объекта], [заменить])
ВЫДЕЛИТЬ([текст_элемента], [одна_точка])
ВЫДЕЛИТЬ.ДО.КОНЦА(direction_num)
ВЫДЕЛИТЬ.ПОСЛЕДНЮЮ.ЯЧЕЙКУ()
ВЫЗЫВАЮЩИЙ()
ВЫНЕСТИ.ВПЕРЕД()
ВЫРАВНИВАНИЕ([гориз_выравнивание], [сворачивать], [верт_выравнивание], [ориентация], [доб_отступ])
ВЫРЕЗАТЬ([из_ссылки], [ссылка_куда_вставлять])
ВЫСОТА.СТРОКИ([высота_числ], [ссылка], [стандартная_высота], [тип_число])
ВЫХОД()
ВЫЧИСЛИТЬ(текст_формулы)
ВЫЧИСЛИТЬ.ДОКУМЕНТ()
ВЫЧИСЛИТЬ.СЕЙЧАС()
ГАЛЕРЕЯ.ГИСТОГРАММА(номер_типа, [удалить_вторичную])
ГАЛЕРЕЯ.ГРАФИК(номер_типа, [удалить_вторичную])
ГАЛЕРЕЯ.КОЛЬЦЕВАЯ(номер_типа, [удалить_вторичную])
ГАЛЕРЕЯ.КРУГОВАЯ(номер_типа, [удалить_вторичную])
ГАЛЕРЕЯ.ЛИНЕЙЧАТАЯ(номер_типа, [удалить_вторичную])
ГАЛЕРЕЯ.РАДАР(номер_типа, [удалить_вторичную])
ГАЛЕРЕЯ.С.ОБЛАСТЯМИ(номер_типа, [удалить_вторичную])
ГАЛЕРЕЯ.ТОЧКИ(номер_типа, [удалить_вторичную])
ГПРОКРУТКА(положение, [признак_столбца])
ГСТРАНИЦА([число_окон])
ГСТРОКА([колич_столбцов])
ДАННЫЕ.ПОДПИСЬ([показ_параметр], [авто_текст], [показ_клавиша])
ДОКУМЕНТЫ([ном_типа], [сопоставл_текст])
ДУБЛИРОВАТЬ()
ЗАДАТЬ.ИМЯ(имя_текст, [ссылка_на], [тип_макроса], [быстрыйдоступ_текст], [скрытый], [категория], [локальный])
ЗАМЕТКА([добавить_текст], [ячейка_ссылка], [старт_символ], [номер_диаграммы])
ЗАПОЛНИТЬ.ВВЕРХ()
ЗАПОЛНИТЬ.ВЛЕВО()
ЗАПОЛНИТЬ.ВНИЗ()
ЗАПОЛНИТЬ.ВПРАВО()
ЗАПУСТИТЬ(текст_программы, [ном_окна])
ЗАЩИТА.ЯЧЕЙКИ([заблокированный], [скрытый])
ЗАЩИТИТЬ.ДОКУМЕНТ([содержимое], [окна], [пароль], [объекты], [сценарии])
ИМЕНА([имя_документа], [ном_типа], [сопоставл_текст])
КАТАЛОГ([путь])
КОПИРОВАТЬ([из_ссылки], [ссылка_куда_вставлять])
ЛЕГЕНДА([флаг])
МАСШТАБ([увеличение])
ОБЪЕКТ.СВОЙСТВА([тип_размещения], [печать_объекта])
ОСИ([x_первичный], [y_первичный], [x_вторичный], [y_вторичный])
ОТКРЫТЬ(текст_файла, [обновить_связи], [только_чтение], [формат], [пароль_защиты], [записать_рез_пароль], [пропуск_зап_ТЧ], [источник_файла], [разделитель_пользователя], [добавить_логич], [редактируемый], [доступ_к_файлу], [пометить_логически], [преобразователь])
ОТКРЫТЬ.ДИАЛОГ([фильтр_файла], [название_кнопки], [название], [фильтр_индекс])
ОТМЕНА.КЛАВИШИ(признак_доступности, [ссылка_на_макрос])
ОТМЕНИТЬ()
ОТНССЫЛ(ссылка, ссылка_на_ссылку)
ОШИБКА(признак_доступности, [ссылка_на_макрос])
ПЕРЕМЕСТИТЬ.НА.ЗАДНИЙ.ПЛАН()
ПО.ВВОДУ([текст_листа], [макрос_текст])
ПО.ДВОЙНОМУ.ЩЕЛЧКУ([текст_листа], [макрос_текст])
ПО.ЛИСТУ([текст_листа], [макрос_текст], [флаг_активации])
ПОДБОР.ПАРАМЕТРА(целевая_ячейка, целевое_значение, переменная_ячейка)
ПОДПИСЬ.СВОЙСТВА([ускор_текст], [ускор2_текста], [объемная_тень])
ПОКАЗАТЬ.АКТИВНУЮ.ЯЧЕЙКУ()
ПОЛНЫЙ.ЭКРАН([флаг])
ПОЛОСА.ПРОКРУТКИ.СВОЙСТВА([значение], [минимум], [макс], [увелич], [страница], [связь], [объемная_тень])
ПОЛУЧИТЬ.ДОКУМЕНТ(ном_типа, [текст_имени])
ПОЛУЧИТЬ.ЗАМЕТКУ([ссылка_на_ячейкку], [нач_символ], [число_литер])
ПОЛУЧИТЬ.ИМЯ(текст_имени, [тип_инфо])
ПОЛУЧИТЬ.ОБЪЕКТ(ном_типа, [идр_объекта], [нач_ном], [ном_счет], [индекс_элемента])
ПОЛУЧИТЬ.ОКНО(ном_типа, [заголовок_окна])
ПОЛУЧИТЬ.РАБОЧЕЕ.ПРОСТРАНСТВО(ном_типа)
ПОЛУЧИТЬ.РАБОЧУЮ.КНИГУ(ном_типа, [текст_имени])
ПОЛУЧИТЬ.ФОРМУЛУ(ссылка)
ПОЛУЧИТЬ.ЯЧЕЙКУ(ном_типа, [ссылка])
ПОМЕСТИТЬ([сдвиг_ном])
ПОМЕСТИТЬ.В.РАБОЧУЮКНИГУ([ном_типа])
ПОМЕСТИТЬ.НАЗВАНИЕ([в_диаграмму], [к_оси_у], [к_оси_х], [в_втор_у], [в_втор_х])
ПРАВКА.РЯД([ряд_число], [имя_ссылки], [x_ссылка], [y_ссылка], [z_ссылка], [порядок_построения])
ПРАВКА.УДАЛИТЬ([сдвиг_ном])
ПРАВКА.ЦВЕТ(номер_цвета, [красный_значение], [зеленый_значение], [голубой_значение])
ПРЕДУПРЕЖДЕНИЕ(текст_сообщения, [ном_типа], [ссылка_на_справку])
ПРИСВОИТЬ.ОБЪЕКТУ([ссылка_макроса])
ПРИСОЕДИНИТЬ.ТЕКСТ(присоединить_к_номер, [номер_ряда], [номер_точки])
ПРОГРЕССИЯ([строки_или_столбцы], [номер_типа], [дата_номера], [значение_шага], [кон_знач], [направление])
ПРОСМОТР.ПАРАМЕТРОВ([формула], [статус], [примечания], [показ_инфо], [номер_объекта], [концы_страниц], [формулы], [сетка], [номер_цвета], [верхние_колонтитулы], [структура_документа], [нули], [гориз_прокрутка], [верт_прокрутка], [закладки_листов])
РАБОЧАЯ.КНИГА.АКТИВИЗИРОВАТЬ(текст_листа)
РАБОЧАЯ.КНИГА.ИМЯ(старый_текст, новый_текст)
РАБОЧАЯ.КНИГА.ПОКАЗАТЬ.СКРЫТОЕ([текст_листа])
РАБОЧАЯ.КНИГА.ПРЕДЫДУЩАЯ()
РАБОЧАЯ.КНИГА.СКРЫТЬ([текст_листа], [очень_скрытое])
РАБОЧАЯ.КНИГА.СЛЕДУЮЩАЯ()
РАБОЧАЯ.КНИГА.УДАЛИТЬ([текст_листа])
РАЗРЕШИТЬ.ОБЪЕКТ([объект_ид_текст], [наделить_логическое])
РАМКА([контур], [левый], [правый], [верхний], [нижний], [затенить], [цвет_контура], [левый_цвет], [правый_цвет], [верхний_цвет], [нижний_цвет])
РАСШИРИТЬ.МНОГОУГОЛЬНИК(массив)
СВОЙСТВА.ШРИФТА([шрифт], [стиль_шрифта], [размер], [перечеркнуть], [верхний_индекс], [нижний_индекс], [контур], [затенение], [подчеркнутый], [цвет], [обычный], [фон], [нач_символ], [число_символов])
СЕТКА([x_основной], [x_вспомогательный], [y_основной], [y_вспомогательный], [z_основной], [z_вспомогательный], [плоский_эффект])
СИГНАЛ([тон_число])
СКРЫТЬ.ОБЪЕКТ([объект_идентификатор_текст], [скрыть_логическое])
СОЗДАТЬ([ном_типа], [xy_ряды], [добавить_логич])
СОЗДАТЬ.ОБЪЕКТ(тип_объекта, ссылка1, [x_отступ1], [y_отступ1], ссылка2, [x_отступ2], [y_отступ2], [текст], [закрашивать], [редактируемый])
СОЗДАТЬ.ОБЪЕКТ(тип_объекта, ссылка1, [x_отступ1], [y_отступ1], ссылка2, [x_отступ2], [y_отступ2], массив, [закрашивать])
СООБЩЕНИЕ(флаг, [текст])
СОРТИРОВКА([ориентация], [ключ1], [порядок1], [ключ2], [порядок2], [ключ3], [порядок3], [верхний_колонтитул], [настройка], [регистр])
СОХРАНИТЬ.ДИАЛОГ([иниц_имяфайла], [название], [кнопка_текст], [файл_фильтр], [фильтр_индекс])
СОХРАНИТЬ()
СОХРАНИТЬ.КАК([имя_документа], [ном_типа], [пароль_защиты], [резервная_копия], [записать_рез_пароль], [зап_только_для_чтения])
СОХРАНИТЬ.КОПИЮ.КАК([имя_документа])
СПЕЦИАЛЬНАЯ.ВСТАВКА([ном_вставки], [номер_операции], [пропуск_пустых], [перестановка])
СПИСОК.СВОЙСТВА([диапазон], [связь], [раскр_размер], [выдел_многих], [объемная_тень])
ССЫЛЗНАЧ(ссылка)
ССЫЛТЕКСТ(ссылка, [а1])
СТАНДАРТНАЯ.ШИРИНА([стандарт_число])
СТЕРЕТЬ([ном_типа])
ТЕКСТ.ПО.СТОЛБЦАМ([ссылка_на_место], [тип_данных], [разделитель_текста], [разделитель_последовательных], [табуляция], [точка_с_запятой], [запятая], [пробел], [другие], [другой_символ], [инфо_поле])
ТЕКСТОВОЕ.ПОЛЕ(добавить_текст, [текст_ид_объекта], [нач_номер], [число_литер])
ТЕКСТССЫЛ(текст, [а1])
УДАЛИТЬ.ИМЯ(имя_текста)
УДАЛИТЬ.ФОРМАТ(строка_форматирования)
УЗОРЫ([АУзор], [спереди], [назад])
УЗОРЫ([ЛАвто], [ЛСтиль], [ЛЦвет], [ниж], [ГШирина], [ГДлина], [ГТип])
УЗОРЫ([ВАвто], [b-стиль], [ВЦвет], [чб], [тень], [ААвто], [АУзор], [спереди], [назад], [закругленный], [нов])
УЗОРЫ([ВАвто], [b-стиль], [ВЦвет], [чб], [тень], [ААвто], [АУзор], [спереди], [назад], [обратить], [применить], [новая-закраска])
УЗОРЫ([ЛАвто], [ЛСтиль], [ЛЦвет], [ниж], [МАвто], [МСтиль], [МПеред], [МНазад], [применить], [гладкий])
УСТАНОВКА.ЗНАЧЕНИЯ.ОБЪЕКТА.УПРАВЛЕНИЯ([значение])
ФАЙЛ.ЗАКРЫТЬ([сохр_логич], [маршрут_логич])
ФАЙЛ.УДАЛИТЬ(имя_файла)
ФАЙЛЫ([имя_каталога])
ФЗАКР(номер_файла)
ФЗАП(номер_файла, текст)
ФЗАПКС(номер_файла, текст)
ФИКСИРОВАТЬ.ПОДОКНА([логический], [столб_разбить], [стр_разбить])
ФИЛЬТР([номер_поля], [критерий1], [операция], [критерий2])
ФИЛЬТР.ПОКАЗАТЬ.ВСЕ()
ФИЛЬТР.УСИЛЕННЫЙ(операция, список_ссылок, [ссылка_критерия], [копировать_ссылку], [единственность_записей])
ФЛАЖОК.СВОЙСТВА([значение], [связь], [ускор_текст], [ускор2_текста], [объемная_тень])
ФОРМА.ДАННЫХ()
ФОРМАТ.ЛЕГЕНДА(тип_позиции)
ФОРМАТ.ПЕРЕМЕСТИТЬ([x_отступ], [y_отступ], [ссылка])
ФОРМАТ.ТЕКСТ([x_выравнивание], [y_выравнивание], [ориент_число], [авто_текст], [авто_размер], [показ_клавиша], [показ_значения], [доб_отступ])
ФОРМАТ.ФОРМА(номер_вершины, поместить, [ссылка], [x_отступ], [y_отступ])
ФОРМАТ.ЧИСЛО(строка_форматирования)
ФОРМУЛА(текст_формулы, [ссылка])
ФОРМУЛА.ЗАМЕНИТЬ(найти_текст, заменить_текст, [см_в], [около], [активная_ячейка], [с_регистром])
ФОРМУЛА.ЗАПОЛНИТЬ(текст_формулы, [ссылка])
ФОРМУЛА.МАССИВ(текст_формулы, [ссылка])
ФОРМУЛА.НАЙТИ(текст, в_число, на_число, по_число, [каталог_число], [с_регистром])
ФОРМУЛА.НАЙТИ.ПРЕДЫДУЩЕЕ()
ФОРМУЛА.НАЙТИ.СЛЕДУЮЩЕЕ()
ФОРМУЛА.ПЕРЕЙТИ([ссылка], [угол])
ФОРМУЛА.ПРЕОБРАЗОВАТЬ(текст_формулы, из_а1, [к_а1], [к_ссыл_тип], [ссылка_на_ссылку])
ФОТКР(имя_файла, [номер_доступа])
ФПОЗ(номер_файла, [тип_позиции])
ФРАЗМЕР(номер_файла)
ФЧИТ(номер_файла, число_литер)
ФЧИТКС(номер_файла)
ЦВЕТ.ПАЛИТРА(имя_файла)
ШИРИНА.СТОЛБЦА([ширина_число], [ссылка], [стандартный], [тип_число], [стандарт_число])
ШКАЛА([мин_число], [макс_число], [основной], [вспомогательный], [пересекать], [логарифмический], [обратный], [макс])
ЭХО([флаг])
АБССЫЛ(ссылка_на_текст, ссылка)
Returns an absolute reference corresponding to an offset from another reference.
ссылка_на_текст | The offset specified in R1C1 format. |
ссылка | The base reference. |
АКТИВИЗИРОВАТЬ([заголовок_окна], [номер_подокна])
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 then the active pane is not changed. |
АКТИВИЗИРОВАТЬ.ПРЕДЫДУЩИЙ([рабочая_книга_текст])
Simulates the Ctrl+Page Up or Ctrl+Shift+Tab key combination.
рабочая_книга_текст | The workbook for which the previous sheet is to be selected. If this parameter is omitted then the previous workbook is selected. |
АКТИВИЗИРОВАТЬ.СЛЕДУЮЩИЙ([рабочая_книга_текст])
Simulates the Ctrl+Page Down or Ctrl+Tab key combination.
рабочая_книга_текст | The workbook for which the next sheet is to be selected. If this parameter is omitted then the next workbook is selected. |
АКТИВНАЯ.ЯЧЕЙКА()
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 implemented). |
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 implemented). |
ссылка_на_справку | 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 implemented). |
ВПРОКРУТКА(положение, [строка_логическая])
Scrolls the worksheet vertically to the specified position.
положение | The proportional or absolute position to scroll to. |
строка_логическая | Whether the положение parameter represents a proportional or absolute row number. The possible values are: |
|
ЛОЖЬ | The положение parameter is a number between 0 and 1 that represents how far down the worksheet to scroll to. |
ИСТИНА | The положение parameter is a number between 1 and 65536 that represents the row number to scroll to. |
|
| If this parameter is omitted it defaults to ЛОЖЬ. |
ВСТАВИТЬ([ссылка_куда_вставлять])
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. |
ВСТРАНИЦА([число_окон])
Scrolls the worksheet vertically by the specified number of pages.
число_окон | The number of pages to scroll. A negative number will scroll towards the top. If this parameter is omitted it defaults to 1. |
ВСТРОКА([колич_строк])
Scrolls the worksheet vertically by the specified number of rows.
колич_строк | The number of rows to scroll. A negative number will scroll towards the top. If this parameter is omitted it defaults to 1. |
ВЫДЕЛЕНИЕ()
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. |
ВЫДЕЛИТЬ([текст_идентификатора_объекта], [заменить])
Selects an object on the active worksheet.
текст_идентификатора_объекта | The object to be selected. If this parameter is omitted the current selection is not changed. |
заменить | Whether to replace or add to the existing object selection (not currently implemented). |
ВЫДЕЛИТЬ([текст_элемента], [одна_точка])
Selects an object on the active chart.
текст_элемента | The object to be selected. The possible values are: |
|
"Chart" | Entire chart |
"Plot" | Plot area |
"Axis 1" | Primary chart value axis |
"Axis 2" | Primary chart category axis |
"Axis 3 | Secondary chart value axis or 3D chart series axis |
"Axis 4" | Secondary chart category axis |
"Title" | Chart title |
"Text Axis 1" | Primary chart value axis title |
"Text Axis 2" | Primary chart category axis title |
"Text Axis 3" | Primary chart series axis title |
"Text n" | nth floating text item |
"Arrow n" | nth arrow |
"Gridline 1" | Value axis major gridlines |
"Gridline 2" | Value axis minor gridlines |
"Gridline 3" | Category axis major gridlines |
"Gridline 4" | Category axis minor gridlines |
"Gridline 5" | Series axis major gridlines |
"Gridline 6" | Series axis minor gridlines |
"Dropline 1" | Primary chart droplines |
"Dropline 2" | Secondary chart droplines |
"Hiloline 1" | Primary chart hi-lo lines |
"Hiloline 2" | Secondary chart hi-lo lines |
"UpBar1" | Primary chart up bar |
"UpBar2" | Secondary chart up bar |
"DownBar1" | Primary chart down bar |
"DownBar2" | Secondary chart down bar |
"Seriesline1" | Primary chart series line |
"Seriesline2" | Secondary chart series line |
"Floor" | 3D chart base |
"Walls" | 3D chart back |
"Corners" | 3D chart corners |
"Sn" | Series n |
"SnPm" | Series n point m data |
"SnTm" | Series n trend line m |
"SnEm" | Series n error bars m |
"Text Sn" | Series n text |
"Text SnPm" | Series n point m text |
"Legend" | Legend |
"Legend Marker n" | Legend marker n |
"Legend Entry n" | Legend entry n |
|
| If this parameter is omitted the current selection is not changed. |
одна_точка | Whether to select a single point or the entire series (not currently implemented). |
ВЫДЕЛИТЬ.ДО.КОНЦА(номер_направления)
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 |
Авто_открыть macro | file name |
Manually (control key combination) | error value #ССЫЛКА! |
ПО.ДВОЙНОМУ.ЩЕЛЧКУ macro | reference of cell that was double-clicked |
ПО.ВВОДУ macro | reference of cell where data was entered |
ПО.ЛИСТУ macro | error value #ССЫЛКА! |
ВЫНЕСТИ.ВПЕРЕД()
Changes the order of the objects on the active worksheet by moving the currently selected object to the front.
ВЫРАВНИВАНИЕ([гориз_выравнивание], [сворачивать], [верт_выравнивание], [ориентация], [доб_отступ])
Simulates the Формат Ячейки dialog Выравнивание page.
гориз_выравнивание | The horizontal alignment to be used. The possible values are: |
|
1 | по значению |
2 | по левому краю |
3 | по центру |
4 | по правому краю |
5 | с заполнением |
6 | по ширине |
7 | по центру выделения |
|
| If this parameter is omitted the setting is not changed. |
сворачивать | Whether to wrap the text in the cells. The possible values are: |
|
ЛОЖЬ | The text is not wrapped |
ИСТИНА | The text is wrapped |
|
| If this parameter is omitted the setting is not changed. |
верт_выравнивание | The vertical alignment to be used. The possible values are: |
|
1 | по верхнему краю |
2 | по центру |
3 | по нижнему краю |
4 | по высоте |
|
| If this parameter is omitted the setting is not changed. |
ориентация | The text orientation. The possible valus are: |
|
0 | По горизонтали |
1 | По вертикали |
2 | Снизу вверх |
3 | Сверху вниз |
|
| If this parameter is omitted the setting is not changed. |
доб_отступ | Not currently implemented. |
ВЫРЕЗАТЬ([из_ссылки], [ссылка_куда_вставлять])
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 ИСТИНА. 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. |
ВЫХОД()
Simulates the Файл Выход menu option.
ВЫЧИСЛИТЬ(текст_формулы)
Returns the result of evaluating a formula.
текст_формулы | The formula to be evaluated. |
ВЫЧИСЛИТЬ.ДОКУМЕНТ()
Causes the current worksheet to be recalculated.
ГПРОКРУТКА(положение, [признак_столбца])
Scrolls the worksheet horizontally to the specified position.
положение | The proportional or absolute position to scroll to. |
признак_столбца | Whether the position parameter represents a proportional or absolute column number. The possible values are: |
|
ЛОЖЬ | The положение parameter is a number between 0 and 1 that represents how far across the worksheet to scroll to. |
ИСТИНА | The положение parameter is a number between 1 and 256 that represents the column number to scroll to. |
|
| If this parameter is omitted it defaults to ЛОЖЬ. |
ВЫЧИСЛИТЬ.СЕЙЧАС()
Causes all worksheets to be recalculated.
ГАЛЕРЕЯ.ГИСТОГРАММА(номер_типа, [удалить_вторичную])
Changes the active chart to a column chart.
номер_типа | The format to be applied to the chart. The possible values are: |
|
1 | no horizontal gridlines, no vertical gridlines, linear y axis, no data labels, not stacked, no series lines |
2 | no horizontal gridlines, no vertical gridlines, linear y axis, no data labels, not stacked, no series lines |
3 | no horizontal gridlines, no vertical gridlines, linear y axis, no data labels, stacked, no series lines (not currently implemented) |
4 | no horizontal gridlines, no vertical gridlines, linear y axis, no data labels, not stacked, no series lines |
5 | no horizontal gridlines, no vertical gridlines, 100% y axis, no data labels, stacked, no series lines (not currently implemented) |
6 | horizontal gridlines, no vertical gridlines, linear y axis, no data labels, not stacked, no series lines |
7 | no horizontal gridlines, no vertical gridlines, linear y axis, data values, not stacked, no series lines |
8 | no horizontal gridlines, no vertical gridlines, linear y axis, no data labels, not stacked, no series lines |
9 | no horizontal gridlines, no vertical gridlines, linear y axis, no data labels, stacked, series lines (not currently implemented) |
10 | no horizontal gridlines, no vertical gridlines, 100% y axis, no data labels, stacked, series lines (not currently implemented) |
|
удалить_вторичную | Whether to delete any overlays (not currently implemented). |
ГАЛЕРЕЯ.ГРАФИК(номер_типа, [удалить_вторичную])
Changes the active chart to a line chart.
номер_типа | The format to be applied to the chart. The possible values are: |
|
1 | markers, straight lines, no horizontal gridlines, no vertical gridlines, linear y axis, no hi-lo lines |
2 | no markers, straight lines, no horizontal gridlines, no vertical gridlines, linear y axis, no hi-lo lines |
3 | markers, no lines, no horizontal gridlines, no vertical gridlines, linear y axis, no hi-lo lines |
4 | markers, straight lines, horizontal gridlines, no vertical gridlines, linear y axis, no hi-lo lines |
5 | markers, straight lines, horizontal gridlines, vertical gridlines, linear y axis, no hi-lo lines |
6 | markers, straight lines, horizontal gridlines, no vertical gridlines, logarithmic y axis, no hi-lo lines |
7 | markers, no lines, no horizontal gridlines, no vertical gridlines, linear y axis, hi-lo lines (not currently implemented) |
8 | high-low-close stock chart (not currently implemented) |
9 | open-high-low-close stock chart (not currently implemented) |
10 | no markers, curved lines, no horizontal gridlines, no vertical gridlines, linear y axis, no hi-lo lines (not currently implemented) |
|
удалить_вторичную | Whether to delete any overlays (not currently implemented). |
ГАЛЕРЕЯ.КОЛЬЦЕВАЯ(номер_типа, [удалить_вторичную])
Changes the active chart to a doughnut chart.
номер_типа | The format to be applied to the chart. The possible values are: |
|
1 | no data labels, not exploded |
2 | data labels, not exploded |
3 | no data labels, first segment exploded (not currently implemented) |
4 | no data labels, all segments exploded (not currently implemented) |
5 | data labels, not exploded |
6 | data percentages, not exploded |
7 | data labels and percentages, not exploded |
|
удалить_вторичную | Whether to delete any overlays (not currently implemented). |
ГАЛЕРЕЯ.КРУГОВАЯ(номер_типа, [удалить_вторичную])
Changes the active chart to a pie chart.
номер_типа | The format to be applied to the chart. The possible values are: |
|
1 | no data labels, not exploded |
2 | data labels, not exploded |
3 | no data labels, first segment exploded (not currently implemented) |
4 | no data labels, all segments exploded (not currently implemented) |
5 | data labels, not exploded |
6 | data percentages, not exploded |
7 | data labels and percentages, not exploded |
|
удалить_вторичную | Whether to delete any overlays (not currently implemented). |
ГАЛЕРЕЯ.ЛИНЕЙЧАТАЯ(номер_типа, [удалить_вторичную])
Changes the active chart to a bar chart.
номер_типа | The format to be applied to the chart. The possible values are: |
|
1 | no horizontal gridlines, no vertical gridlines, linear x axis, no data labels, not stacked, no series lines |
2 | no horizontal gridlines, no vertical gridlines, linear x axis, no data labels, not stacked, no series lines |
3 | no horizontal gridlines, no vertical gridlines, linear x axis, no data labels, stacked, no series lines (not currently implemented) |
4 | no horizontal gridlines, no vertical gridlines, linear x axis, no data labels, not stacked, no series lines |
5 | no horizontal gridlines, no vertical gridlines, 100% x axis, no data labels, stacked, no series lines (not currently implemented) |
6 | no horizontal gridlines, vertical gridlines, linear x axis, no data labels, not stacked, no series lines |
7 | no horizontal gridlines, no vertical gridlines, linear x axis, data values, not stacked, no series lines |
8 | no horizontal gridlines, no vertical gridlines, linear x axis, no data labels, not stacked, no series lines |
9 | no horizontal gridlines, no vertical gridlines, linear x axis, no data labels, stacked, series lines (not currently implemented) |
10 | no horizontal gridlines, no vertical gridlines, 100% x axis, no data labels, stacked, series lines (not currently implemented) |
|
удалить_вторичную | Whether to delete any overlays (not currently implemented). |
ГАЛЕРЕЯ.РАДАР(номер_типа, [удалить_вторичную])
Changes the active chart to a radar chart.
номер_типа | The format to be applied to the chart. The possible values are: |
|
1 | markers, no horizontal gridlines, linear y axis, not filled |
2 | no markers, no horizontal gridlines, linear y axis, not filled |
3 | no markers, no horizontal gridlines, no y axis, not filled |
4 | no markers, horizontal gridlines, linear y axis, not filled |
5 | no markers, horizontal gridlines, logarithmic y axis, not filled |
6 | no markers, no horizontal gridlines, linear y axis, filled (not currently implemented) |
|
удалить_вторичную | Whether to delete any overlays (not currently implemented). |
ГАЛЕРЕЯ.С.ОБЛАСТЯМИ(номер_типа, [удалить_вторичную])
Changes the active chart to an area chart.
номер_типа | The format to be applied to the chart. The possible values are: |
|
1 | no horizontal gridlines, no vertical gridlines, linear y axis, no data labels, no drop lines |
2 | no horizontal gridlines, no vertical gridlines, 100% y axis, no data labels, no drop lines (not currently implemented) |
3 | no horizontal gridlines, no vertical gridlines, linear y axis, no data labels, drop lines (not currently implemented) |
4 | horizontal gridlines, vertical gridlines, linear y axis, no data labels, no drop lines |
5 | no horizontal gridlines, no vertical gridlines, linear y axis, data labels, no drop lines |
|
удалить_вторичную | Whether to delete any overlays (not currently implemented). |
ГАЛЕРЕЯ.ТОЧКИ(номер_типа, [удалить_вторичную])
Changes the active chart to a scatter (XY) chart.
номер_типа | The format to be applied to the chart. The possible values are: |
|
1 | markers, no lines, no horizontal gridlines, no vertical gridlines, linear y axis, linear x axis |
2 | markers, straight lines, no horizontal gridlines, no vertical gridlines, linear y axis, linear x axis |
3 | markers, no lines, horizontal gridlines, vertical gridlines, linear y axis, linear x axis |
4 | markers, no lines, horizontal gridlines, no vertical gridlines, logarithmic y axis, linear x axis |
5 | markers, no lines, horizontal gridlines, vertical gridlines, logarithmic y axis, logarithmic x axis |
6 | no markers, curved lines, no horizontal gridlines, no vertical gridlines, linear y axis, linear x axis (not currently implemented) |
|
удалить_вторичную | Whether to delete any overlays (not currently implemented). |
ГСТРАНИЦА([число_окон])
Scrolls the worksheet horizontally by the specified number of pages.
число_окон | The number of pages to scroll. A negative number will scroll to the left. If this parameter is omitted it defaults to 1. |
ГСТРОКА([колич_столбцов])
Scrolls the worksheet horizontally by the specified number of columns.
колич_столбцов | The number of columns to scroll. A negative number will scroll to the left. If this parameter is omitted it defaults to 1. |
ДАННЫЕ.ПОДПИСЬ([показ_параметр], [авто_текст], [показ_клавиша])
Changes the active chart data labels.
показ_параметр | The type of label to show. The possible values are: |
|
1 | Нет |
2 | Значения |
3 | Доля |
4 | Категория |
5 | Категория и доля |
|
| If this parameter is omitted the data labels are not changed. |
авто_текст | Whether to reset the data labels (not currently implemented). |
показ_клавиша | Whether to show the legend key next to the label (not currently implemented). |
ДОКУМЕНТЫ([ном_типа], [сопоставл_текст])
Returns a horizontal array containing the names of the open files.
ном_типа | Specifies whether to include add-in workbooks in the list. The possible values are: |
|
1 | List only open files that are not add-in workbooks. |
2 | List only open files that are add-in workbooks. |
3 | List all open files. |
|
| If this parameter is omitted it defaults to 1. |
сопоставл_текст | A template name that may contain wildcard characters. If this parameter is omitted then all workbook names will be included. |
ДУБЛИРОВАТЬ()
Duplicates the currently selected object.
ЗАДАТЬ.ИМЯ(имя_текст, [ссылка_на], [тип_макроса], [быстрыйдоступ_текст], [скрытый], [категория], [локальный])
Simulates the Вставка Имя Присвоить Добавить menu option.
имя_текст | A string containing the name to be defined. |
ссылка_на | The value that is to be assigned to the name. If this parameter is omitted it defaults to a reference to the current selection on the active sheet. |
тип_макроса | The type of macro that this name refers to (not currently implemented). |
быстрыйдоступ_текст | The shortcut key used to activate a command macro. If this parameter is omitted no shortcut key is assigned. |
скрытый | Whether the name is to be hidden in the name definition list. The possible values are: |
|
ЛОЖЬ | Show the name in the list. |
ИСТИНА | Do not show the name in the list. |
|
| If this parameter is omitted it defaults to ЛОЖЬ. |
категория | Identifies the category of a custom function (not currently implemented). |
локальный | Whether the name is to local to the active sheet. The possible values are: |
|
ЛОЖЬ | The name is defined as global. |
ИСТИНА | The name is defined as local. |
|
| If this parameter is omitted it defaults to ЛОЖЬ. |
ЗАМЕТКА([добавить_текст], [ячейка_ссылка], [старт_символ], [номер_диаграммы])
Simulates the Вставка Примечание menu option.
добавить_текст | The text that is to be added. If this parameter is omitted it defaults to an empty string. |
ячейка_ссылка | The cell where the comment is to be inserted. If this parameter is omitted it defaults to the active cell. |
старт_символ | The start position in an existing comment where the new text is to be inserted. If this parameter is omitted it defaults to 1. |
номер_диаграммы | The length of text in an existing comment that is to be replaced. If this parameter is omitted it defaults to the length of the existing text. |
ЗАПОЛНИТЬ.ВВЕРХ()
Simulates the Правка Заполнение Вверх menu option.
ЗАПОЛНИТЬ.ВЛЕВО()
Simulates the Правка Заполнение Влево menu option.
ЗАПОЛНИТЬ.ВНИЗ()
Simulates the Правка Заполнение Вниз menu option.
ЗАПОЛНИТЬ.ВПРАВО()
Simulates the Правка Заполнение Вправо menu option.
ЗАПУСТИТЬ(текст_программы, [ном_окна])
Executes another program.
текст_программы | The program to be executed. |
ном_окна | The window state for the executed program (not currently implemented). The possible values are: |
|
1 | Normal |
2 | Minimized |
3 | Maximized |
|
| If this parameter is omitted it defaults to 2. |
ЗАЩИТА.ЯЧЕЙКИ([заблокированный], [скрытый])
Simulates the Формат Ячейки dialog Защита page.
заблокированный | Whether the cell should be locked when the sheet is protected. The possible values are: |
|
ЛОЖЬ | The cell is not locked |
ИСТИНА | The cell is locked |
|
| If this parameter is omitted the setting is not changed. |
скрытый | Whether the cell formula should be hidden when the sheet is protected. The possible values are: |
|
ЛОЖЬ | The cell formula is not hidden |
ИСТИНА | The cell formula is hidden |
|
| If this parameter is omitted the setting is not changed. |
ЗАЩИТИТЬ.ДОКУМЕНТ([содержимое], [окна], [пароль], [объекты], [сценарии])
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 ИСТИНА. |
ИМЕНА([имя_документа], [ном_типа], [сопоставл_текст])
Returns a horizontal array containing defined names.
имя_документа | The name of the workbook containing the names. If this parameter is omitted it defaults to the active workbook. |
ном_типа | The type of name to retrieve. The possible values are: |
|
1 | Visible names |
2 | Hidden names |
3 | All names |
|
| If this parameter is omitted it defaults to 1. |
сопоставл_текст | A template name that may contain wildcard characters. If this parameter is omitted all names will match. |
КАТАЛОГ([путь])
Returns the path of the current directory, and optionally allows you to change it.
путь | The path to which you want to change the current directory. If this parameter is omitted the current directory is not changed. Note that in Windows CE the current directory is always the root directory and cannot be changed. |
КОПИРОВАТЬ([из_ссылки], [ссылка_куда_вставлять])
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. |
ЛЕГЕНДА([флаг])
Changes the active chart legend visibility.
флаг | Whether to show the legend. The possible values are: |
|
ЛОЖЬ | Do not show the legend |
ИСТИНА | Do show the legend |
|
| If this parameter is omitted it defaults to ИСТИНА. |
МАСШТАБ([увеличение])
Simulates the Формат Лист Масштаб menu option.
увеличение | The magnification option. The possible values are: |
|
number | Set the zoom level to the specified number. The number must be between 10 and 400. |
ИСТИНА | Set the zoom level so that the current selection fills the window. |
ЛОЖЬ | Reset the zoom level to 100% |
|
| If this parameter is omitted it defaults to ИСТИНА. |
ОБЪЕКТ.СВОЙСТВА([тип_размещения], [печать_объекта])
Changes the properties of an object.
тип_размещения | How the object is attached to the cells. The possible values are: |
|
1 | перемещать и изменять объект вместе с ячейками |
2 | перемещать, но не изменять размеры |
3 | не перемещать и не изменять размеры |
|
| If this parameter is omitted the setting is not changed. |
печать_объекта | Whether the object can be printed. The possible values are: |
|
ЛОЖЬ | The object is not printed |
ИСТИНА | The object is printed |
|
| If this parameter is omitted the setting is not changed. |
ОСИ([x_первичный], [y_первичный], [x_вторичный], [y_вторичный])
Changes the active chart axes.
x_первичный | Whether to draw the X-axis. The possible values are: |
|
ЛОЖЬ | Do not draw the X-axis. |
ИСТИНА | Do draw the X-axis. |
|
| If this parameter is omitted the setting is not changed. |
y_первичный | Whether to draw the Y-axis. The possible values are: |
|
ЛОЖЬ | Do not draw the Y-axis. |
ИСТИНА | Do draw the Y-axis. |
|
| If this parameter is omitted the setting is not changed. |
x_вторичный | Whether to draw the secondary X-axis (not currently implemented). |
y_вторичный | Whether to draw the secondary Y-axis (not currently implemented). |
ОТКРЫТЬ(текст_файла, [обновить_связи], [только_чтение], [формат], [пароль_защиты], [записать_рез_пароль], [пропуск_зап_ТЧ], [источник_файла], [разделитель_пользователя], [добавить_логич], [редактируемый], [доступ_к_файлу], [пометить_логически], [преобразователь])
Simulates the Файл Открыть menu option.
текст_файла | The name of the file to be opened. |
обновить_связи | Whether to update external references. The possible values are: |
|
0 | Do not update any references |
1 | Update external references |
2 | Update remote references (not currently implemented) |
3 | Update external and remote references (not currently implemented) |
|
| If this parameter is omitted and external references exist then a prompt will be displayed. |
только_чтение | Whether to open the file as read-only (not currently implemented). |
формат | The character used as a delimiter for text files. The possible values are: |
|
1 | знак табуляции |
2 | запятая |
3 | пробел |
4 | точка с запятой |
5 | Nothing |
6 | Другой (specified in the разделитель_пользователя parameter) |
|
| If this parameter is omitted the text file delimiter will be determined from the file extension. |
пароль_защиты | The password required to unprotect a file (not currently implemented). |
записать_рез_пароль | The password required to open a read-only file for writing (not currently implemented). |
пропуск_зап_ТЧ | Whether to suppress the display of the read-only recommended message (not currently implemented). |
источник_файла | The operating system where the file originated (not currently implemented). |
разделитель_пользователя | The character used as a custom delimiter for text files (not currently implemented). |
добавить_логич | Whether to add the specified file to the current workbook (not currently implemented). |
редактируемый | Whether a template file should be opened in read-write mode (not currently implemented). |
доступ_к_файлу | Whether to change the access of a currently open file (not currently implemented). |
пометить_логически | Whether to send a message when a shared workbook becomes available (not currently implemented). |
преобразователь | Overrides the default file type (not currently implemented). |
ОТКРЫТЬ.ДИАЛОГ([фильтр_файла], [название_кнопки], [название], [фильтр_индекс])
Returns a file name from the Файл Открыть dialog box, or ЛОЖЬ if Отмена is selected.
фильтр_файла | One or more file filters, separated by commas. If this parameter is omitted it defaults to "Все файлы (*.*), *.*". |
название_кнопки | Replacement text for the Open button (not currently implemented). |
название | Replacement text for the dialog box title. If this parameter is omitted the title is not changed. |
фильтр_индекс | The index of the initial file filter. If this parameter is omitted it defaults to 1. |
ОТМЕНА.КЛАВИШИ(признак_доступности, [ссылка_на_макрос])
Specifies the action taken when the Escape key is pressed in a macro.
признак_доступности | Whether to interrupt the macro. The possible values are: |
|
ЛОЖЬ | The macro continues |
ИСТИНА | The macro is interrupted |
|
ссылка_на_макрос | The macro to be run when the Escape key is pressed (not currently implemented) |
ОТМЕНИТЬ()
Simulates the Правка Отменить menu option.
ОТНССЫЛ(ссылка, ссылка_на_ссылку)
Returns a string containing an R1C1 reference that represents the offset of the first reference from the second.
ссылка | The target reference. |
ссылка_на_ссылку | The base reference. |
ОШИБКА(признак_доступности, [ссылка_на_макрос])
Specifies the action taken when an error occurs in a macro.
признак_доступности | Whether to interrupt the macro. The possible values are: |
|
ЛОЖЬ | The macro continues |
ИСТИНА | The macro is interrupted |
|
ссылка_на_макрос | The macro to be run when an error occurs (not currently implemented) |
ПЕРЕМЕСТИТЬ.НА.ЗАДНИЙ.ПЛАН()
Changes the order of the objects on the active worksheet by moving the currently selected object to the back.
ПО.ВВОДУ([текст_листа], [макрос_текст])
Specifies a macro to be run when data is entered.
текст_листа | 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. |
макрос_текст | A string containing a defined name or R1C1 reference indicating the macro that is to be run. If this parameter is omitted then no macro will be run. |
ПО.ДВОЙНОМУ.ЩЕЛЧКУ([текст_листа], [макрос_текст])
Specifies a macro to be run when a cell is double-clicked.
текст_листа | 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. |
макрос_текст | A string containing a defined name or R1C1 reference indicating the macro that is to be run. If this parameter is omitted then no macro will be run. |
ПО.ЛИСТУ([текст_листа], [макрос_текст], [флаг_активации])
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. |
макрос_текст | A string containing a defined name or R1C1 reference indicating 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. |
ПОДПИСЬ.СВОЙСТВА([ускор_текст], [ускор2_текста], [объемная_тень])
Changes the properties of a label or group box control.
ускор_текст | The accelerator key on a dialog sheet (not currently implemented). |
ускор2_текста | The second accelerator key on a dialog sheet (not currently implemented). |
объемная_тень | Whether to draw the control with 3d shading. The possible values are: |
| |
| If this parameter is omitted the setting is not changed. |
ПОКАЗАТЬ.АКТИВНУЮ.ЯЧЕЙКУ()
Scrolls the active cell into view.
ПОЛНЫЙ.ЭКРАН([флаг])
Simulates the Формат Программа Во весь экран menu option.
флаг | Whether to switch to or from full screen mode. The possible values are: |
|
ЛОЖЬ | Switch from full screen mode |
ИСТИНА | Switch to full screen mode |
|
| If this parameter is omitted it defaults to ИСТИНА. |
ПОЛОСА.ПРОКРУТКИ.СВОЙСТВА([значение], [минимум], [макс], [увелич], [страница], [связь], [объемная_тень])
Changes the properties of a scroll bar or spin control.
значение | The current value of the control. If this parameter is omitted the value is not changed. |
минимум | The minimum value of the control. If this parameter is omitted the value is not changed. |
макс | The maximum value of the control. If this parameter is omitted the value is not changed. |
увелич | The change to the current value when the arrow button is clicked. If this parameter is omitted the value is not changed. |
страница | The change to the current value when the area either side of the scroll bar thumb is clicked. If this parameter is omitted the value is not changed. |
связь | The cell that is updated by the control. If this parameter is omitted the link is not changed. |
объемная_тень | Whether to draw the control with 3d shading. The possible values are: |
| |
| If this parameter is omitted the setting is not changed. |
ПОЛУЧИТЬ.ДОКУМЕНТ(ном_типа, [текст_имени])
Returns information about the specified file.
ном_типа | The type of information to return. The possible values are: |
|
1 | The book and sheet name in the form "[Книга1.xls]Лист1" |
2 | The path of the directory containing the file, or #Н/Д is the file has not been saved |
3 | A number indicating the active sheet type: 1=worksheet, 2=chart sheet, 3=macro sheet, 4=info window, 5=reserved, 6=module, 7=dialog |
4 | A logical value indicating whether the file has been changed since last save |
7 | A logical value indicating whether the sheet is protected |
9 | For worksheets, the number of the first used row (0 if empty) For chart sheets, a number indicating the chart type: 1=area, 2=bar, 3=column, 4=line, 5=pie, 6=scatter, 7=3d area, 8=3d column, 9=3d line, 10=3d pie, 11=radar, 12=3d bar, 13=3d surface, 14=doughnut |
10 | For worksheets, the number of the last used row (0 if empty) |
11 | For worksheets, the number of the first used column (0 if empty) For chart sheets, the chart series count |
12 | For worksheets, the number of the last used column (0 if empty) |
13 | The number of windows |
14 | A number indicating the calculation mode: 1=automatic, 2=automatic except tables, 3=manual |
20 | A logical value corresponding to the calculation - 1904 date system setting |
37 | A number indicating the file type: 1=normal, 3=text, 6=CSV, 17=template |
42 | A horizontal array of the objects on a sheet, or #Н/Д if there are none |
48 | A number indicating the standard column width in characters |
68 | The book name in the form "Книга1.xls" |
76 | The book and sheet name in the form "[Книга1.xls]Лист1" |
85 | A logical value indicating whether the Advanced Filter is on |
86 | A logical value indicating whether the AutoFilter is on |
87 | The active sheet number |
88 | The name of the active workbook in the form "Книга1.xls" |
|
текст_имени | The file whose information is to be returned. If this parameter is omitted it defaults to the active file. |
ПОЛУЧИТЬ.ЗАМЕТКУ([ссылка_на_ячейкку], [нач_символ], [число_литер])
Returns the text of a comment.
ссылка_на_ячейкку | The reference of the cell containing the comment. If this parameter is omitted it defaults to the active cell. |
нач_символ | The position of the first character to be returned. If this parameter is omitted it defaults to 1. |
число_литер | The length of the text to be returned. If this parameter is omitted it defaults to the length of the comment. |
ПОЛУЧИТЬ.ИМЯ(текст_имени, [тип_инфо])
Returns information about a name.
текст_имени | A string containing the name. |
тип_инфо | The type of information to be returned. The possible values are: |
|
1 | Return the definition. |
2 | Return ИСТИНА if it is a local name, or ЛОЖЬ if it is a global name. |
|
| If this parameter is omitted it defaults to 1. |
ПОЛУЧИТЬ.ОБЪЕКТ(ном_типа, [идр_объекта], [нач_ном], [ном_счет], [индекс_элемента])
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 |
13 | font name |
14 | font size |
15 | bold |
16 | italic |
17 | underline |
18 | strikethrough |
19 | outline | |
20 | shadow | |
21 | text color | |
22 | horizontal alignment as number: | |
| 1 по левому краю |
| 2 по центру |
| 3 по правому краю |
| 4 по ширине |
23 | vertical alignment as number: | |
| 1 top |
| 2 по центру |
| 3 по нижнему краю |
| 4 по ширине |
26 | visible | |
48 | linked cell reference as text | |
49 | object id number | |
50 | object class name | |
51 | object name (class name and id number) | |
56 | enabled | |
62 | current value | |
63 | minimum value | |
64 | maximum value | |
65 | increment value | |
66 | page value | |
71 | list/combo entries | |
73 | input range reference as text | |
74 | dropdown lines | |
75 | draw 3d | |
|
идр_объекта | 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. |
ПОЛУЧИТЬ.ОКНО(ном_типа, [заголовок_окна])
Returns information about the specified window.
ном_типа | The type of information to return. The possible values are: |
|
1 | The book and sheet name in the form "[Книга1.xls]Лист1". |
2 | The number of the window. |
3 | The x-position in points from the left edge of the workspace to the left edge of the window. |
4 | The y-position in points from the bottom of the formula bar to the top edge of the window. |
5 | The window width, measured in points. |
6 | The window height, measured in points. |
7 | If the window is hidden then ИСТИНА, otherwise ЛОЖЬ. |
8 | If formulas are displayed then ИСТИНА, otherwise ЛОЖЬ. |
9 | If gridlines are displayed then ИСТИНА, otherwise ЛОЖЬ. |
10 | If headings are displayed then ИСТИНА, otherwise ЛОЖЬ. |
11 | If zeros are displayed then ИСТИНА, otherwise ЛОЖЬ. |
12 | The gridline color (1-56) or 0 if automatic. |
13 | The leftmost column number of each pane, in a horizontal array. |
14 | The top row number of each pane, in a horizontal array. |
15 | The number of columns in each pane, in a horizontal array. |
16 | The number of rows in each pane, in a horizontal array. |
17 | The split type: 1=none, 2=vertical, 3=horizontal, 4=both. |
18 | If the window has a vertical split then ИСТИНА, otherwise ЛОЖЬ. |
19 | If the window has a horizontal split then ИСТИНА, otherwise ЛОЖЬ. |
20 | If the window is maximized then ИСТИНА, otherwise ЛОЖЬ. |
21 | Reserved |
22 | If View Outline Symbols is selected then ИСТИНА, otherwise ЛОЖЬ. |
23 | The window status: 1=restored, 2=minimized, 3=maximized. |
24 | If window panes are frozen then ИСТИНА, otherwise ЛОЖЬ. |
25 | The zoom percentage. |
26 | If horizontal scrollbars are displayed then ИСТИНА, otherwise ЛОЖЬ. |
27 | If vertical scrollbars are displayed then ИСТИНА, otherwise ЛОЖЬ. |
28 | The ratio of the sheet tabs to the horizontal scrollbar. |
29 | If sheet tabs are displayed then ИСТИНА, otherwise ЛОЖЬ. |
30 | The book and sheet name in the form "[Книга1.xls]Лист1". |
31 | The book name in the form "Книга1.xls". |
|
заголовок_окна | The window whose information is to be returned. If this parameter is omitted it defaults to the active window. |
ПОЛУЧИТЬ.РАБОЧЕЕ.ПРОСТРАНСТВО(ном_типа)
Returns information about the workspace.
ном_типа | The type of information to return. The possible values are: |
|
6 | If the status bar is shown then ИСТИНА, otherwise ЛОЖЬ |
7 | If the formula bar is shown then ИСТИНА, otherwise ЛОЖЬ |
21 | If the standard toolbar is shown then ИСТИНА, otherwise ЛОЖЬ |
26 | Name of user |
27 | Name of organisation |
32 | The full path to the application |
40 | If screen updating is on then ИСТИНА, otherwise ЛОЖЬ |
50 | If full screen mode is on then ИСТИНА, otherwise ЛОЖЬ |
|
ПОЛУЧИТЬ.РАБОЧУЮ.КНИГУ(ном_типа, [текст_имени])
Returns information about the specified file.
ном_типа | The type of information to return. The possible values are: |
|
1 | A horizontal array of sheet names in the form "[Книга1.xls]Лист1" |
4 | The number of sheets in the workbook |
16 | The workbook name in the form "Книга1.xls" |
20 | A number indicating the file type: 1=normal, 3=text, 6=CSV, 17=template |
24 | A logical value indicating whether the file has been changed since last save |
38 | The name of the active sheet in the form "Лист1" |
|
текст_имени | The file whose information is to be returned. If this parameter is omitted it defaults to the active file. |
ПОЛУЧИТЬ.ФОРМУЛУ(ссылка)
Returns the contents of a cell as a string. Any references in a formula will be returned in R1C1 format.
ссылка | The cell whose contents are to be returned. |
ПОЛУЧИТЬ.ЯЧЕЙКУ(ном_типа, [ссылка])
Returns information about the specified cell.
ном_типа | The type of information to return. The possible values are: |
|
1 | Absolute reference of the upper-left cell in reference, as text |
2 | Row number of the top cell in reference |
3 | Column number of the leftmost cell in reference |
4 | Same as ТИП(ссылка) |
5 | Contents of reference |
6 | Formula in reference, as text |
7 | Number format of the cell, as text |
8 | Number indicating the cell's horizontal alignment |
9 | Number indicating the left-border style assigned to the cell |
10 | Number indicating the right-border style assigned to the cell |
11 | Number indicating the top-border style assigned to the cell |
12 | Number indicating the bottom-border style assigned to the cell |
13 | Number from 0 to 18, indicating the pattern of the selected cell |
14 | If the cell is locked, returns ИСТИНА; otherwise, returns ЛОЖЬ |
15 | If the cell's formula is hidden, returns ИСТИНА; otherwise, returns ЛОЖЬ |
16 | A two-item horizontal array containing the width of the active cell and a logical value indicating whether the cell's width is set to change as the standard width changes (ИСТИНА) or is a custom width (ЛОЖЬ) |
17 | Row height of cell, in points |
18 | Name of font, as text |
19 | Size of font, in points |
20 | If the cell is bold returns ИСТИНА; otherwise returns ЛОЖЬ |
21 | If the cell is italic returns ИСТИНА; otherwise returns ЛОЖЬ |
22 | If the cell is underlined returns ИСТИНА; otherwise returns ЛОЖЬ |
23 | If the cell is struck out returns ИСТИНА; otherwise returns ЛОЖЬ |
24 | Font color of cell, as a number in the range 1 to 56. If font color is automatic, returns 0 |
25 | If the cell is outlined returns ИСТИНА; otherwise returns ЛОЖЬ |
26 | If the cell is shadowed returns ИСТИНА; otherwise returns ЛОЖЬ |
32 | Name of the workbook and sheet containing the cell |
33 | If the cell is formatted to wrap, returns ИСТИНА; otherwise, returns ЛОЖЬ |
34 | Left-border color as a number in the range 1 to 56. If color is automatic, returns 0 |
35 | Right-border color as a number in the range 1 to 56. If color is automatic, returns 0 |
36 | Top-border color as a number in the range 1 to 56. If color is automatic, returns 0 |
37 | Bottom-border color as a number in the range 1 to 56. If color is automatic, returns 0 |
38 | Shade foreground color as a number in the range 1 to 56. If color is automatic, returns 0 |
39 | Shade background color as a number in the range 1 to 56. If color is automatic, returns 0 |
42 | The horizontal distance, measured in points, from the left edge of the active window to the left edge of the cell |
43 | The vertical distance, measured in points, from the top edge of the active window to the top edge of the cell |
44 | The horizontal distance, measured in points, from the left edge of the active window to the right edge of the cell |
45 | The vertical distance, measured in points, from the top edge of the active window to the bottom edge of the cell |
46 | If the cell contains a comment, returns ИСТИНА; otherwise, returns ЛОЖЬ |
48 | If the cell contains a formula, returns ИСТИНА; if a constant, returns ЛОЖЬ |
49 | If the cell is part of an array, returns ИСТИНА; otherwise, returns ЛОЖЬ |
50 | Number indicating the cell's vertical alignment |
51 | Number indicating the cell's text orientation |
53 | Contents of the cell as it is currently displayed, as text |
57 | If the cell is superscript returns ИСТИНА; otherwise returns ЛОЖЬ |
58 | Returns the font style of the cell as text |
59 | Returns the number for the underline style |
60 | If the cell is subscript returns ИСТИНА; otherwise returns ЛОЖЬ |
62 | The book and sheet name in the form "[Книга1.xls]Лист1" |
66 | The name of the workbook containing the cell in the form "Книга1.xls" |
|
ссылка | The cell whose information is to be returned. If this parameter is omitted it defaults to the active cell. |
ПОМЕСТИТЬ([сдвиг_ном])
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. |
ПОМЕСТИТЬ.В.РАБОЧУЮКНИГУ([ном_типа])
Simulates the Вставка Лист, Диаграмма and Макрос menu options.
ном_типа | 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. |
ПОМЕСТИТЬ.НАЗВАНИЕ([в_диаграмму], [к_оси_у], [к_оси_х], [в_втор_у], [в_втор_х])
Attaches default text to the active chart. The ВЫДЕЛИТЬ and ФОРМУЛА functions can be used to change the text.
в_диаграмму | Whether to add a default chart title. The possible values are: |
|
ЛОЖЬ | Delete any existing chart title. |
ИСТИНА | Add default chart title if one does not already exist. |
|
| If this parameter is omitted the chart title is not changed. |
к_оси_у | Whether to add a default primary y-axis title. The possible values are: |
|
ЛОЖЬ | Delete any existing primary y-axis title. |
ИСТИНА | Add default primary y-axis title if one does not already exist. |
|
| If this parameter is omitted the primary y-axis title is not changed. |
к_оси_х | Whether to add a default primary x-axis title. The possible values are: |
|
ЛОЖЬ | Delete any existing primary x-axis title. |
ИСТИНА | Add default primary x-axis title if one does not already exist. |
|
| If this parameter is omitted the primary x-axis title is not changed. |
в_втор_у | Whether to add a default secondary y-axis title (not currently implemented). |
в_втор_х | Whether to add a default secondary x-axis title (not currently implemented). |
ПРАВКА.РЯД([ряд_число], [имя_ссылки], [x_ссылка], [y_ссылка], [z_ссылка], [порядок_построения])
Adds or changes a series on the active chart.
ряд_число | The number of the series to be changed. If this parameter is zero or omitted then a new series is added. |
имя_ссылки | The series name. If this parameter is omitted the name is not changed. |
x_ссылка | The X categories or values reference. If this parameter is omitted the reference is not changed. |
y_ссылка | The Y values reference. If this parameter is omitted the reference is not changed. |
z_ссылка | The Z values reference (not currently implemented). |
порядок_построения | The order of this series on the chart (not currently implemented). |
ПРАВКА.УДАЛИТЬ([сдвиг_ном])
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. |
ПРАВКА.ЦВЕТ(номер_цвета, [красный_значение], [зеленый_значение], [голубой_значение])
Changes the color associated with a specific color number.
номер_цвета | A number from 1 to 56, indicating which color is to be changed. |
красный_значение | A number from 0 to 255, specifying the intensity of the red component. If this parameter is omitted the red component is not changed. |
зеленый_значение | A number from 0 to 255, specifying the intensity of the green component. If this parameter is omitted the green component is not changed. |
голубой_значение | A number from 0 to 255, specifying the intensity of the blue component. If this parameter is omitted the blue component is not changed. |
ПРЕДУПРЕЖДЕНИЕ(текст_сообщения, [ном_типа], [ссылка_на_справку])
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). |
ПРИСВОИТЬ.ОБЪЕКТУ([ссылка_макроса])
Assigns a macro to an object.
ссылка_макроса | The reference of the macro to be assigned. If this parameter is omitted then any existing macro is removed. |
ПРИСОЕДИНИТЬ.ТЕКСТ(присоединить_к_номер, [номер_ряда], [номер_точки])
Attaches default text to the active chart. The ВЫДЕЛИТЬ and ФОРМУЛА functions can be used to change the text.
присоединить_к_номер | The item where the default text is to be attached. The possible values are: |
|
1 | Chart title |
2 | Primary y-axis title |
3 | Primary x-axis title |
4 | Data label (not currently implemented) |
5 | Secondary y-axis title (not currently implemented) |
6 | Secondary x-axis title (not currently implemented) |
|
номер_ряда | The series number of the data label (not currently implemented) |
номер_точки | The point number of the data label (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 ЛОЖЬ. |
ПРОСМОТР.ПАРАМЕТРОВ([формула], [статус], [примечания], [показ_инфо], [номер_объекта], [концы_страниц], [формулы], [сетка], [номер_цвета], [верхние_колонтитулы], [структура_документа], [нули], [гориз_прокрутка], [верт_прокрутка], [закладки_листов])
Changes the program, file or sheet view options.
формула | Specifies whether the formula bar is displayed. The possible values are: |
|
ЛОЖЬ | The formula bar is not displayed |
ИСТИНА | The formula bar is displayed |
|
| If this parameter is omitted the setting is not changed. |
статус | Specifies whether the status bar is displayed. The possible values are: |
|
ЛОЖЬ | The status bar is not displayed |
ИСТИНА | The status bar is displayed |
|
| If this parameter is omitted the setting is not changed. |
примечания | Specifies whether comments and indicators are displayed (not currently implemented). |
показ_инфо | Specifies whether the info window is displayed (not currently implemented). |
номер_объекта | Specifies how objects are displayed (not currently implemented). |
концы_страниц | Specifies whether page breaks are displayed (not currently implemented). |
формулы | Specifies whether to display formulas or values in cells. The possible values are: |
|
ЛОЖЬ | Values are displayed |
ИСТИНА | Formulas are displayed |
|
| If this parameter is omitted the setting is not changed. |
сетка | Specifies whether gridlines are displayed. The possible values are: |
|
ЛОЖЬ | Gridlines are not displayed |
ИСТИНА | Gridlines are displayed |
|
| If this parameter is omitted the setting is not changed. |
номер_цвета | Specifies the color to be used for drawing gridlines (not currently implemented). |
верхние_колонтитулы | Specifies whether row and column headings are displayed. The possible values are: |
|
ЛОЖЬ | Row and column headings are not displayed |
ИСТИНА | Row and column headings are displayed |
|
| If this parameter is omitted the setting is not changed. |
структура_документа | Specifies whether outline symbols are displayed (not currently implemented). |
нули | Specifies whether zero values are displayed (not currently implemented). |
гориз_прокрутка | Specifies whether the horizontal scroll bar is displayed. The possible values are: |
|
ЛОЖЬ | The horizontal scroll bar is not displayed |
ИСТИНА | The horizontal scroll bar is displayed |
|
| If this parameter is omitted the setting is not changed. |
верт_прокрутка | Specifies whether the vertical scroll bar is displayed. The possible values are: |
|
ЛОЖЬ | The vertical scroll bar is not displayed |
ИСТИНА | The vertical scroll bar is displayed |
|
| If this parameter is omitted the setting is not changed. |
закладки_листов | Specifies whether the sheet tabs are displayed. The possible values are: |
|
ЛОЖЬ | The sheet tabs are not displayed |
ИСТИНА | The sheet tabs are displayed |
|
| If this parameter is omitted the setting is not changed. |
РАБОЧАЯ.КНИГА.АКТИВИЗИРОВАТЬ(текст_листа)
Specifies the sheet that is to be the active worksheet.
текст_листа | The sheet that is to be the active worksheet. |
РАБОЧАЯ.КНИГА.ИМЯ(старый_текст, новый_текст)
Simulates the Формат Лист Переименовать menu option.
старый_текст | The sheet that is to be renamed. |
новый_текст | The new name for the sheet. |
РАБОЧАЯ.КНИГА.ПОКАЗАТЬ.СКРЫТОЕ([текст_листа])
Simulates the Формат Лист Отобразить menu option.
текст_листа | The name of the sheet to unhide. If this parameter is omitted it defaults to the first hidden sheet. |
РАБОЧАЯ.КНИГА.ПРЕДЫДУЩАЯ()
Simulates the Ctrl+Page Up key combination.
РАБОЧАЯ.КНИГА.СКРЫТЬ([текст_листа], [очень_скрытое])
Simulates the Формат Лист Скрыть menu option.
текст_листа | The name of the sheet to hide. If this parameter is omitted it defaults to the currently active sheet. |
очень_скрытое | Whether to show the name of the hidden sheet in the Unhide dialog box. The possible values are: |
|
ИСТИНА | Do not show the sheet name |
ЛОЖЬ | Show the sheet name |
|
| If this parameter is omitted it defaults to ЛОЖЬ. |
РАБОЧАЯ.КНИГА.СЛЕДУЮЩАЯ()
Simulates the Ctrl+Page Down key combination.
РАБОЧАЯ.КНИГА.УДАЛИТЬ([текст_листа])
Simulates the Правка Удалить лист menu option.
текст_листа | The sheet that is to be deleted. If this parameter is omitted it defaults to the currently active sheet. |
РАЗРЕШИТЬ.ОБЪЕКТ([объект_ид_текст], [наделить_логическое])
Specifies whether an object should respond to mouse clicks.
объект_ид_текст | The object to be enabled or disabled. If this parameter is omitted the currently selected object is used. |
наделить_логическое | Whether the object is enabled. The possible values are: |
|
ИСТИНА | The object is enabled. |
ЛОЖЬ | The object is disabled. |
|
| If this parameter is omitted the setting is not changed. |
РАМКА([контур], [левый], [правый], [верхний], [нижний], [затенить], [цвет_контура], [левый_цвет], [правый_цвет], [верхний_цвет], [нижний_цвет])
Simulates the Формат Ячейки dialog Рамка page.
контур | The border type to be applied to the outline of the selected cells. The possible values are: |
|
0 | Нет |
1 | Тонкая |
2 | Среднее |
3 | штрих |
4 | пунктир |
5 | Толстая |
6 | Двойное |
7 | Сверхтонкая |
|
| If this parameter is omitted the setting is not changed. |
левый | The border type to be used for the left border of the selected cells. The possible values are the same as for the контур parameter. |
| If this parameter is omitted the setting is not changed. |
правый | The border type to be used for the right border of the selected cells. The possible values are the same as for the контур parameter. |
| If this parameter is omitted the setting is not changed. |
верхний | The border type to be used for the top border of the selected cells. The possible values are the same as for the контур parameter. |
| If this parameter is omitted the setting is not changed. |
нижний | The border type to be used for the bottom border of the selected cells. The possible values are the same as for the контур parameter. |
| If this parameter is omitted the setting is not changed. |
затенить | Not implemented. |
цвет_контура | The color to be used for the outline border. The possible values are: |
|
0 | Автоматически |
1 to 56 | One of the colors displayed in the Формат Ячейки dialog Рамка page |
|
| If this parameter is omitted the setting is not changed. |
левый_цвет | The color to be used for the left border. The possible values are the same as for the цвет_контура parameter. |
| If this parameter is omitted the setting is not changed. |
правый_цвет | The color to be used for the right border. The possible values are the same as for the цвет_контура parameter. |
| If this parameter is omitted the setting is not changed. |
верхний_цвет | The color to be used for the top border. The possible values are the same as for the цвет_контура parameter. |
| If this parameter is omitted the setting is not changed. |
нижний_цвет | The color to be used for the bottom border. The possible values are the same as for the цвет_контура parameter. |
| If this parameter is omitted the setting is not changed. |
РАСШИРИТЬ.МНОГОУГОЛЬНИК(массив)
Adds points to a polygon created by the СОЗДАТЬ.ОБЪЕКТ function.
массив | An array or reference with 2 columns, containing the x and y points of the polygon. |
СВОЙСТВА.ШРИФТА([шрифт], [стиль_шрифта], [размер], [перечеркнуть], [верхний_индекс], [нижний_индекс], [контур], [затенение], [подчеркнутый], [цвет], [обычный], [фон], [нач_символ], [число_символов])
Simulates the Формат Ячейки dialog Шрифт page or changes the font of the selected chart text.
шрифт | 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. |
СЕТКА([x_основной], [x_вспомогательный], [y_основной], [y_вспомогательный], [z_основной], [z_вспомогательный], [плоский_эффект])
Changes the active chart gridlines.
x_основной | Whether to draw the X-axis major gridlines. The possible values are: |
|
ЛОЖЬ | Do not draw the X-axis major gridlines. |
ИСТИНА | Do draw the X-axis major gridlines. |
|
| If this parameter is omitted the setting is not changed. |
x_вспомогательный | Whether to draw the X-axis minor gridlines (not currently implemented). |
y_основной | Whether to draw the Y-axis major gridlines. The possible values are: |
|
ЛОЖЬ | Do not draw the Y-axis major gridlines. |
ИСТИНА | Do draw the Y-axis major gridlines. |
|
| If this parameter is omitted the setting is not changed. |
y_вспомогательный | Whether to draw the Y-axis minor gridlines (not currently implemented). |
z_основной | Whether to draw the Z-axis minor gridlines (not currently implemented). |
z_вспомогательный | Whether to draw the Z-axis minor gridlines (not currently implemented). |
плоский_эффект | Whether to draw 2D gridlines on 3D charts (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. |
СКРЫТЬ.ОБЪЕКТ([объект_идентификатор_текст], [скрыть_логическое])
Hides or shows an object.
объект_идентификатор_текст | The object to be hidden or shown. If this parameter is omitted the currently selected object is used. |
скрыть_логическое | Whether the object is hidden. The possible values are: |
|
ЛОЖЬ | The object is shown |
ИСТИНА | The object is hidden |
|
| If this parameter is omitted it defaults to ИСТИНА. |
СОЗДАТЬ([ном_типа], [xy_ряды], [добавить_логич])
Simulates the Файл Создать menu option.
ном_типа | The type of workbook to create. The possible values are: |
|
omitted | New workbook with 1 worksheet of the same type as the active worksheet. |
1 | New workbook with 1 worksheet. |
2 | New workbook with 1 chart based on the current selection (not currently implemented). |
3 | New workbook with 1 macro sheet. |
4 | New workbook with 1 international macro sheet (not currently implemented). |
5 | New workbook based on Книга.xlt or default template. |
6 | New workbook with 1 VB module (not currently implemented). |
7 | New workbook with 1 dialog sheet (not currently implemented). |
file name | New workbook based on template file. |
|
xy_ряды | How to interpret selected data for a new chart (not currently implemented). |
добавить_логич | Whether to add the specified sheet to the current workbook (not currently implemented). |
СОЗДАТЬ.ОБЪЕКТ(тип_объекта, ссылка1, [x_отступ1], [y_отступ1], ссылка2, [x_отступ2], [y_отступ2], [текст], [закрашивать], [редактируемый])
Simulates the Вставка Графический объект and Вставка Элемент управления menu options.
тип_объекта | The type of object to be created. The possible values are: |
|
1 | Линия |
2 | Прямоуг |
3 | Овал |
6 | Подпись |
7 | Кнопка |
11 | Флажок |
12 | Перекл |
14 | Метка |
16 | Рег счетчика |
17 | Полоса прокр |
18 | Окно списка |
19 | Окно группы |
20 | Раскр список |
|
ссылка1 | The cell containing the top-left corner of the object. |
x_отступ1 | The offset in points of the top-left corner of the object from the left edge of the cell. If this parameter is omitted it defaults to 0. |
y_отступ1 | The offset in points of the top-left corner of the object from the top edge of the cell. If this parameter is omitted it defaults to 0. |
ссылка2 | The cell containing the bottom-right corner of the object. |
x_отступ2 | The offset in points of the bottom-right corner of the object from the left edge of the cell. If this parameter is omitted it defaults to 0. |
y_отступ2 | The offset in points of the bottom-right corner of the object from the top edge of the cell. If this parameter is omitted it defaults to 0. |
текст | The text to be assigned to the object. If this parameter is omitted then no text is assigned. |
закрашивать | Specifies whether the object is filled or transparent (not currently implemented). |
редактируемый | Specifies whether a combo box is editable (not currently implemented). |
СОЗДАТЬ.ОБЪЕКТ(тип_объекта, ссылка1, [x_отступ1], [y_отступ1], ссылка2, [x_отступ2], [y_отступ2], массив, [закрашивать], [редактируемый])
Simulates the Вставка Графический объект and Вставка Элемент управления menu options.
тип_объекта | The type of object to be created. The possible values are: |
|
9 | Закрыт многоугольник |
10 | Открыт многоугольник |
|
ссылка1 | The cell containing the top-left corner of the object. |
x_отступ1 | The offset in points of the top-left corner of the object from the left edge of the cell. If this parameter is omitted it defaults to 0. |
y_отступ1 | The offset in points of the top-left corner of the object from the top edge of the cell. If this parameter is omitted it defaults to 0. |
ссылка2 | The cell containing the bottom-right corner of the object. |
x_отступ2 | The offset in points of the bottom-right corner of the object from the left edge of the cell. If this parameter is omitted it defaults to 0. |
y_отступ2 | The offset in points of the bottom-right corner of the object from the top edge of the cell. If this parameter is omitted it defaults to 0. |
массив | An array or reference with 2 columns and at least 2 rows, containing the x and y points of the polygon. |
закрашивать | Specifies whether the object is filled or transparent (not currently implemented). |
СООБЩЕНИЕ(флаг, [текст])
Displays a message on the status bar.
флаг | Whether to display or hide messages. The possible values are: |
|
ИСТИНА | Display a message on the status bar. |
ЛОЖЬ | Remove any message from the status bar. |
|
текст | The message to be displayed. If this parameter is omitted it defaults to an empty string. |
СОРТИРОВКА([ориентация], [ключ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.
СОХРАНИТЬ.ДИАЛОГ([иниц_имяфайла], [название], [кнопка_текст], [файл_фильтр], [фильтр_индекс])
Returns a file name from the Файл Сохранить как dialog box, or ЛОЖЬ if Отмена is selected.
иниц_имяфайла | The suggested file name. If this parameter is omitted it defaults to the name of the active file. |
название | Replacement text for the dialog box title. If this parameter is omitted the title is not changed. |
кнопка_текст | Replacement text for the Save button (not currently implemented). |
файл_фильтр | One or more file filters, separated by commas. If this parameter is omitted it defaults to "Все файлы (*.*), *.*". |
фильтр_индекс | The index of the initial file filter. If this parameter is omitted it defaults to 1. |
СОХРАНИТЬ.КАК([имя_документа], [ном_типа], [пароль_защиты], [резервная_копия], [записать_рез_пароль], [зап_только_для_чтения])
Simulates the Файл Сохранить как menu option.
имя_документа | The name for the saved file. If this parameter is omitted the current name will be used. |
ном_типа | The type of file to save. The possible values are: |
|
1 | Excel workbook (xls) |
3 | Tab-delimited text (txt) |
6 | Comma-separated values (csv) |
17 | Excel template (xlt) |
|
| If this parameter is omitted it defaults to 1. |
пароль_защиты | The password required to unprotect a file (not currently implemented). |
резервная_копия | Whether to make a backup of the file (not currently implemented). |
записать_рез_пароль | The password required to open a read-only file for writing (not currently implemented). |
зап_только_для_чтения | Whether to save the file as read-only recommended (not currently implemented). |
СОХРАНИТЬ.КОПИЮ.КАК([имя_документа])
Saves a copy of the current file with a different name.
имя_документа | The name for the saved file. If this parameter is omitted then the file is not saved. |
СПЕЦИАЛЬНАЯ.ВСТАВКА([ном_вставки], [номер_операции], [пропуск_пустых], [перестановка])
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. |
|
| If this parameter is omitted it defaults to ЛОЖЬ. |
СПИСОК.СВОЙСТВА([диапазон], [связь], [раскр_размер], [выдел_многих], [объемная_тень])
Changes the properties of a list box or combo box control.
диапазон | The input range from which to fill the list. If this parameter is omitted the setting is not changed. |
связь | The cell that is updated by the control. If this parameter is omitted the link is not changed. |
раскр_размер | The number of lines in the drop-down list of a combo box. If this parameter is omitted the setting is not changed. |
выдел_многих | Whether to allow more than one list selection (not currently implemented). |
объемная_тень | Whether to draw the control with 3d shading. The possible values are: |
| |
| If this parameter is omitted the setting is not changed. |
ССЫЛЗНАЧ(ссылка)
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 new standard width. If this parameter is omitted then the standard width is not changed. |
СТЕРЕТЬ([ном_типа])
Simulates the Правка Очистить menu options.
ном_типа | 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. |
ТЕКСТ.ПО.СТОЛБЦАМ([ссылка_на_место], [тип_данных], [разделитель_текста], [разделитель_последовательных], [табуляция], [точка_с_запятой], [запятая], [пробел], [другие], [другой_символ], [инфо_поле])
Simulates the Формат Данные Текст по столбцам menu option.
ссылка_на_место | Specifies an alternative destination for the parsed data (not currently implemented). |
тип_данных | Specifies how the data is to be split. The possible values are: |
|
1 | С разделителями |
2 | Фиксированной ширины |
|
| If this parameter is omitted it defaults to 1. |
разделитель_текста | For delimited data, specifies the text item delimiter. The possible values are: |
| |
| If this parameter is omitted it defaults to the value last specified from the menu option. |
разделитель_последовательных | For delimited data, specifies whether to treat consecutive delimiters as one. The possible values are: |
|
FALSE | Treat consecutive delimiters separately |
TRUE | Treat consecutive delimiters as one |
|
| If this parameter is omitted it defaults to the value last specified from the menu option. |
табуляция | For delimited data, specifies whether to treat the tab character as a delimiter. The possible values are: |
|
FALSE | Do not treat tab characters as delimiters |
TRUE | Treat tab characters as delimiters |
|
| If this parameter is omitted it defaults to the value last specified from the menu option. |
точка_с_запятой | For delimited data, specifies whether to treat the semicolon character as a delimiter. The possible values are: |
|
FALSE | Do not treat semicolon characters as delimiters |
TRUE | Treat semicolon characters as delimiters |
|
| If this parameter is omitted it defaults to the value last specified from the menu option. |
запятая | For delimited data, specifies whether to treat the comma character as a delimiter. The possible values are: |
|
FALSE | Do not treat comma characters as delimiters |
TRUE | Treat comma characters as delimiters |
|
| If this parameter is omitted it defaults to the value last specified from the menu option. |
пробел | For delimited data, specifies whether to treat the space character as a delimiter. The possible values are: |
|
FALSE | Do not treat space characters as delimiters |
TRUE | Treat space characters as delimiters |
|
| If this parameter is omitted it defaults to the value last specified from the menu option. |
другие | For delimited data, specifies whether to treat the user-specified character as a delimiter. The possible values are: |
|
FALSE | Do not treat user-specified characters as delimiters |
TRUE | Treat user-specified characters as delimiters |
|
| If this parameter is omitted it defaults to the value last specified from the menu option. |
другой_символ | For delimited data, specifies the user-specified character to be treated as a delimiter. If this parameter is omitted it defaults to the value last specified from the menu option. |
инфо_поле | For delimited data, an array specifying {column number, data format}, repeated as necessary. For fixed width data, an array specifying {start position, data format}, repeated as necessary. For the data format, the possible values are: |
|
1 | Общий |
2 | Текстовый |
3 | Дата |
9 | Пропустить |
|
| If this parameter is omitted the data format defaults to General. |
ТЕКСТОВОЕ.ПОЛЕ(добавить_текст, [текст_ид_объекта], [нач_номер], [число_литер])
Changes the text of an object.
добавить_текст | The text that is to be added. |
текст_ид_объекта | The object identifier. If this parameter is omitted it defaults to the currently selected object on the active worksheet. |
нач_номер | The start position in the existing text where the new text is to be inserted. If this parameter is omitted it defaults to 1. |
число_литер | The length of existing text that is to be replaced. If this parameter is omitted it defaults to the length of the existing text. |
ТЕКСТССЫЛ(текст, [а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.
имя_текста | A string containing the name to be deleted. |
УДАЛИТЬ.ФОРМАТ(строка_форматирования)
Deletes the specified custom number format. Any cells using this format will be changed to use the Общий format.
строка_форматирования | A string containing the format to be deleted. |
УЗОРЫ([АУзор], [спереди], [назад])
Simulates the Формат Ячейки dialog Узоры page.
АУзор | The number of the pattern to be applied. The possible values are: |
|
0 | Нет |
1 | сплошной |
2 | 50% Серый |
3 | 75% Серый |
4 | 25% Серый |
5 | Горизонтальная штриховой |
6 | Вертикальная штриховой |
7 | перевернутый диагональный штриховой |
8 | диагональный штриховой |
9 | диагональный клетчатый |
10 | Толстая диагональный клетчатый |
11 | Тонкая Горизонтальная штриховой |
12 | Тонкая Вертикальная штриховой |
13 | Тонкая перевернутый диагональный штриховой |
14 | Тонкая Diagonal штриховой |
15 | Тонкая Горизонтальная клетчатый |
16 | Тонкая диагональный клетчатый |
17 | 12.5% Серый |
18 | 6.25% Серый |
|
| If this parameter is omitted the setting is not changed. |
спереди | The number of the foreground color to be applied. The possible values are: |
|
1 to 56 | One of the colors displayed in the Формат Ячейки dialog Узоры page |
|
| If this parameter is omitted the setting is not changed. |
назад | The number of the background color to be applied. The possible values are: |
|
1 to 56 | One of the colors displayed in the Формат Ячейки dialog Узоры page |
|
| If this parameter is omitted the setting is not changed. |
УЗОРЫ([ЛАвто], [ЛСтиль], [ЛЦвет], [ниж], [ГШирина], [ГДлина], [ГТип])
Changes the attributes of the selected line.
ЛАвто | The line setting. The possible values are: |
|
0 | Другой |
1 | Автоматически |
2 | Нет |
|
| If this parameter is omitted the setting is not changed. |
ЛСтиль | The line style (not currently implemented). |
ЛЦвет | The line color. The possible values are: |
|
1 to 56 | One of the colors displayed in the Формат Ячейки dialog Узоры page |
|
| If this parameter is omitted the setting is not changed. |
ниж | The line weight (not currently implemented). |
ГШирина | The arrowhead width (not currently implemented). |
ГДлина | The arrowhead length (not currently implemented). |
ГТип | The arrowhead type. The possible values are: |
|
1 | Нет |
2 | Открыть |
3 | закрыт |
4 | двойная Открыть |
5 | двойная закрыт |
|
| If this parameter is omitted the setting is not changed. |
УЗОРЫ([ВАвто], [b-стиль], [ВЦвет], [чб], [тень], [ААвто], [АУзор], [спереди], [назад], [закругленный], [нов])
Changes the attributes of the selected text box, rectangle or oval.
ВАвто | The border setting. The possible values are: |
|
0 | Другой |
1 | Автоматически |
2 | Нет |
|
| If this parameter is omitted the setting is not changed. |
b-стиль | The border style (not currently implemented). |
ВЦвет | The border color. The possible values are: |
|
1 to 56 | One of the colors displayed in the Формат Ячейки dialog Узоры page |
|
| If this parameter is omitted the setting is not changed. |
чб | The border weight (not currently implemented). |
тень | Whether to apply a shadow to the object (not currently implemented). |
ААвто | The area setting. The possible values are: |
|
0 | Другой |
1 | Автоматически |
2 | Нет |
|
| If this parameter is omitted the setting is not changed. |
АУзор | The area pattern (not currently implemented). |
спереди | The area foreground color. The possible values are: |
|
1 to 56 | One of the colors displayed in the Формат Ячейки dialog Узоры page |
|
| If this parameter is omitted the setting is not changed. |
назад | The area background color (not currently implemented). |
закругленный | Whether to draw the object with rounded corners (not currently implemented). |
нов | Whether to use the new or old user interface color scheme (not currently implemented). |
УЗОРЫ([ВАвто], [b-стиль], [ВЦвет], [чб], [тень], [ААвто], [АУзор], [спереди], [назад], [обратить], [применить], [новая-закраска])
Changes the attributes of the selected chart plot areas, bars, columns, pie slices or text labels.
ВАвто | The border setting. The possible values are: |
|
0 | Другой |
1 | Автоматически |
2 | Нет |
|
| If this parameter is omitted the setting is not changed. |
b-стиль | The border style. The possible values are: |
|
1 | Сплошная линия |
2 | Штрих |
3 | пунктир |
4 | штрихпунктир |
5 | штрихпунктир с 2 точками |
6 | Темно |
7 | Среднее |
8 | Светло |
|
| If this parameter is omitted the setting is not changed. |
ВЦвет | The border color. The possible values are: |
|
1 to 56 | One of the colors displayed in the Формат Ячейки dialog Узоры page |
|
| If this parameter is omitted the setting is not changed. |
чб | The border weight (not currently implemented). |
тень | Whether to apply a shadow to the object (not currently implemented). |
ААвто | The area setting. The possible values are: |
|
0 | Другой |
1 | Автоматически |
2 | Нет |
|
| If this parameter is omitted the setting is not changed. |
АУзор | The area pattern (not currently implemented). |
спереди | The area foreground color. The possible values are: |
|
1 to 56 | One of the colors displayed in the Формат Ячейки dialog Узоры page |
|
| If this parameter is omitted the setting is not changed. |
назад | The area background color (not currently implemented). |
обратить | Whether to invert the pattern for a negative value (not currently implemented). |
применить | Whether to apply changes to just this item or all similar items (not currently implemented). |
новая-закраска | Whether to use the new or old user interface color scheme (not currently implemented). |
УЗОРЫ([ЛАвто], [ЛСтиль], [ЛЦвет], [ниж], [МАвто], [МСтиль], [МПеред], [МНазад], [применить], [гладкий])
Changes the attributes of the selected chart series line.
ЛАвто | The line setting. The possible values are: |
|
0 | Другой |
1 | Автоматически |
2 | Нет |
|
| If this parameter is omitted the setting is not changed. |
ЛСтиль | The line style. The possible values are: |
|
1 | Сплошная линия |
2 | Штрих |
3 | пунктир |
4 | штрихпунктир |
5 | штрихпунктир с 2 точками |
6 | Темно |
7 | Среднее |
8 | Светло |
|
| If this parameter is omitted the setting is not changed. |
ЛЦвет | The line color. The possible values are: |
|
1 to 56 | One of the colors displayed in the Формат Ячейки dialog Узоры page |
|
| If this parameter is omitted the setting is not changed. |
ниж | The line weight (not currently implemented). |
МАвто | The marker setting. The possible values are: |
|
0 | Другой |
1 | Автоматически |
2 | Нет |
|
| If this parameter is omitted the setting is not changed. |
МСтиль | The marker style. The possible values are: |
|
1 | Квадрат |
2 | Ромб |
3 | Треугольник |
4 | X |
5 | Звезда |
6 | Точка |
7 | Тире |
8 | Круг |
9 | Плюс |
|
| If this parameter is omitted the setting is not changed. |
МПеред | The marker foreground color. The possible values are: |
|
1 to 56 | One of the colors displayed in the Формат Ячейки dialog Узоры page |
|
| If this parameter is omitted the setting is not changed. |
МНазад | The marker background color. The possible values are: |
|
1 to 56 | One of the colors displayed in the Формат Ячейки dialog Узоры page |
|
| If this parameter is omitted the setting is not changed. |
применить | Whether to apply changes to just this item or all similar items (not currently implemented). |
гладкий | Whether to smooth picture markers (not currently implemented). |
УСТАНОВКА.ЗНАЧЕНИЯ.ОБЪЕКТА.УПРАВЛЕНИЯ([значение])
Changes the current value of a control.
значение | The new value for the control. The possible values are: |
|
Флажок | 0 | снят |
| 1 | установлен |
| 2 | смешанное |
Перекл | 0 | снят |
| 1 | установлен |
Рег счетчика | The new value of the spin control |
Полоса прокр | The new scroll position |
Окно списка | The selected item (0 = no selection) |
Раскр список | The selected item (0 = no selection) |
|
| If this parameter is omitted the setting is not changed. |
ФАЙЛ.ЗАКРЫТЬ([сохр_логич], [маршрут_логич])
Simulates the Файл Закрыть menu option.
сохр_логич | Whether to save a changed file before closing it. The possible values are: |
|
ЛОЖЬ | Do not save the file |
ИСТИНА | Save the file |
|
| If this parameter is omitted then the prompt is displayed. |
маршрут_логич | Whether to route the file after closing it (not currently implemented). |
ФАЙЛ.УДАЛИТЬ(имя_файла)
Deletes a file.
имя_файла | The name of the file to be deleted. |
ФАЙЛЫ([имя_каталога])
Returns a horizontal array containing the names of the files in a directory.
имя_каталога | A template name that may contain wildcard characters. If this parameter is omitted then all file names will be included. |
ФЗАКР(номер_файла)
Closes a file that was previously opened by the ФОТКР function.
номер_файла | The file number that was returned by the ФОТКР function. |
ФЗАП(номер_файла, текст)
Writes a string of characters to a file.
номер_файла | The file number that was returned by the ФОТКР function. |
текст | The text to be written. |
ФЗАПКС(номер_файла, текст)
Writes a string of characters to a file, followed by an end of line marker.
номер_файла | The file number that was returned by the ФОТКР function. |
текст | The text to be written. |
ФИКСИРОВАТЬ.ПОДОКНА([логический], [столб_разбить], [стр_разбить])
Simulates the Формат Закрепить области menu option.
логический | Whether to freeze or unfreeze the panes. The possible values are: |
|
ЛОЖЬ | Unfreeze the panes |
ИСТИНА | Freeze the panes |
|
| If this parameter is omitted the setting is toggled. |
столб_разбить | The number of columns to be frozen. If this parameter is omitted all columns left of the cursor cell are frozen. |
стр_разбить | The number of rows to be frozen. If this parameter is omitted all rows above the cursor cell are frozen. |
ФИЛЬТР([номер_поля], [критерий1], [операция], [критерий2])
Simulates the Формат Данные Фильтр Автофильтр menu option.
номер_поля | The filter column number whose criteria are to be changed. The columns are number from left to right, with 1 being the first filtered column. If this parameter is omitted the filter is just turned on or off. |
критерий1 | A string specifying the criteria to be used. If this parameter is omitted any filter criteria are removed from the specified column. |
операция | The combination operation when multiple criteria are used. The possible values are: |
| |
| If this parameter is omitted the second criteria is not used. |
критерий2 | A string specifying the criteria to be used. If this parameter is omitted the second criteria is not used. |
ФИЛЬТР.ПОКАЗАТЬ.ВСЕ()
Simulates the Формат Данные Фильтр Показать все menu option.
ФИЛЬТР.УСИЛЕННЫЙ(операция, список_ссылок, [ссылка_критерия], [копировать_ссылку], [единственность_записей])
Simulates the Формат Данные Фильтр Расширенный фильтр menu option.
операция | Whether to filter in place or copy to another location. The possible values are: |
|
1 | Filter the list in place |
2 | Copy the list to another location |
|
список_ссылок | The location of the list to be filtered. |
ссылка_критерия | The location of any filter criteria to be used. If this parameter is omitted no criteria will be applied. |
копировать_ссылку | The destination of the copied data. This is only used when operation is 2. |
единственность_записей | Whether to select unique records only. The possible values are: |
|
ЛОЖЬ | Display all records that match the criteria. |
ИСТИНА | Display only unique records that match the criteria. |
|
| If this parameter is omitted it defaults to ЛОЖЬ. |
ФЛАЖОК.СВОЙСТВА([значение], [связь], [ускор_текст], [ускор2_текста], [объемная_тень])
Changes the properties of a check box or option button control.
значение | The value of the control. The possible values are: |
|
ЛОЖЬ | снят |
ИСТИНА | установлен |
0 | снят |
1 | установлен |
2 | смешанное |
|
| If this parameter is omitted the value is not changed. |
связь | The cell that is updated by the control. If this parameter is omitted the link is not changed. |
ускор_текст | The accelerator key on a dialog sheet (not currently implemented). |
ускор2_текста | The second accelerator key on a dialog sheet (not currently implemented). |
объемная_тень | Whether to draw the control with 3d shading. The possible values are: |
| |
| If this parameter is omitted the setting is not changed. |
ФОРМА.ДАННЫХ()
Simulates the Формат Данные Форма menu option.
ФОРМАТ.ЛЕГЕНДА(тип_позиции)
Changes the active chart legend placement.
тип_позиции | The placement of the legend. The possible values are: |
|
1 | внизу |
2 | в правом верхнем углу |
3 | вверху |
4 | справа |
5 | слева |
|
ФОРМАТ.ПЕРЕМЕСТИТЬ([x_отступ], [y_отступ], [ссылка])
Moves the currently selected object.
x_отступ | The offset in points of the top-left corner of the object from the left edge of the cell. If this parameter is omitted it defaults to 0. |
y_отступ | The offset in points of the top-left corner of the object from the top edge of the cell. If this parameter is omitted it defaults to 0. |
ссылка | The cell containing the top-left corner of the object. If this parameter is omitted it defaults to A1. |
ФОРМАТ.ТЕКСТ([x_выравнивание], [y_выравнивание], [ориент_число], [авто_текст], [авто_размер], [показ_клавиша], [показ_значения], [доб_отступ])
Formats the text in a text box or command button.
x_выравнивание | The horizontal alignment. The possible values are: |
|
1 | по левому краю |
2 | по центру |
3 | по правому краю |
4 | по ширине |
|
| If this parameter is omitted the setting is not changed. |
y_выравнивание | The vertical alignment. The possible values are: |
|
1 | по верхнему краю |
2 | по центру |
3 | по нижнему краю |
4 | по высоте |
|
| If this parameter is omitted the setting is not changed. |
ориент_число | The text orientation (not currently implemented). |
авто_текст | Resets data label text (not currently implemented). |
авто_размер | Resets the border around the text (not currently implemented). |
показ_клавиша | Shows legend key for data labels (not currently implemented). |
показ_значения | Shows values for data labels (not currently implemented). |
доб_отступ | Used for Far East versions only (not currently implemented). |
ФОРМАТ.ФОРМА(номер_вершины, поместить, [ссылка], [x_отступ], [y_отступ])
Inserts, moves or deletes polygon points.
номер_вершины | The number of the vertex to be inserted, moved or deleted. |
поместить | Whether the vertex is to be inserted, moved or deleted. The possible values are: |
|
ЛОЖЬ | The vertex is to be deleted (if none of the subsequent parameters are entered) or moved (if any of the remaining parameters are entered) |
ИСТИНА | The vertex is to be inserted |
|
ссылка | The cell from which the insert or move position is measured. If this parameter is omitted it defaults to the top left corner of the polygon. |
x_отступ | The horizontal offset from the reference, measured in points. If this parameter is omitted it defaults to zero. |
y_отступ | The vertical offset from the reference, measured in points. If this parameter is omitted it defaults to zero. |
ФОРМАТ.ЧИСЛО(строка_форматирования)
Simulates the Формат Ячейки dialog число page.
строка_форматирования | The number format to be used. |
ФОРМУЛА(текст_формулы, [ссылка])
Enters the specified formula in the specified reference. Any references in the formula must be in R1C1 format. The ФОРМУЛА.ПРЕОБРАЗОВАТЬ function can be used to convert references.
текст_формулы | 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 text that you want to find. |
заменить_текст | The text to replace the found text with. |
см_в | Whether to match the text against all or part of a cell. The possible values are: |
|
1 | Ячейка целиком |
2 | Any part of the text in a cell |
|
| If this parameter is omitted it defaults to 1. |
около | Whether to search by rows or by columns. The possible values are: |
| |
| If this parameter is omitted it defaults to 1. |
активная_ячейка | Whether to replace in just the current cell or in the whole sheet. The possible values are: |
|
ИСТИНА | Text in the active cell is replaced |
ЛОЖЬ | Text in the whole sheet is replaced |
|
| If this parameter is omitted it defaults to ЛОЖЬ. |
с_регистром | Whether the search is case-sensitive. The possible values are: |
|
ИСТИНА | The search is case-sensitive |
ЛОЖЬ | The search is not case-sensitive |
|
| If this parameter is omitted it defaults to the value last used. |
ФОРМУЛА.ЗАПОЛНИТЬ(текст_формулы, [ссылка])
Enters the specified formula in the specified range. Any references in the formula must be in R1C1 format. The ФОРМУЛА.ПРЕОБРАЗОВАТЬ function can be used to convert references.
текст_формулы | The formula to be inserted. |
ссылка | The reference where formula to be inserted. If this parameter is omitted it defaults to the current selection on the active worksheet. |
ФОРМУЛА.МАССИВ(текст_формулы, [ссылка])
Enters the specified array formula in the specified reference. Any references in the formula must be in R1C1 format. The ФОРМУЛА.ПРЕОБРАЗОВАТЬ function can be used to convert references.
текст_формулы | The formula to be inserted. |
ссылка | The reference where formula to be inserted. If this parameter is omitted it defaults to the current selection on the active worksheet. |
ФОРМУЛА.НАЙТИ(текст, в_число, на_число, по_число, [каталог_число], [с_регистром])
Simulates the Правка Найти menu option.
текст | The text that you want to find. |
в_число | Where you want to look for the text. The possible values are: |
|
1 | Формулы |
2 | Значения |
3 | Примечания |
|
на_число | Whether to match this text against all or part of a cell. The possible values are: |
|
1 | Ячейка целиком |
2 | Any part of the text in a cell |
|
по_число | Whether to search by rows or by columns. The possible values are: |
| |
каталог_число | Whether to search for the next or previous match. The possible values are: |
| |
| If this parameter is omitted it defaults to 1. |
с_регистром | Whether the search is case-sensitive. The possible values are: |
|
ИСТИНА | The search is case-sensitive |
ЛОЖЬ | The search is not case-sensitive |
|
| If this parameter is omitted it defaults to ЛОЖЬ. |
ФОРМУЛА.НАЙТИ.ПРЕДЫДУЩЕЕ()
Finds the previous cell based on the current criteria.
ФОРМУЛА.НАЙТИ.СЛЕДУЮЩЕЕ()
Finds the next cell based on the current criteria.
ФОРМУЛА.ПЕРЕЙТИ([ссылка], [угол])
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 ЛОЖЬ. |
ФОРМУЛА.ПРЕОБРАЗОВАТЬ(текст_формулы, из_а1, [к_а1], [к_ссыл_тип], [ссылка_на_ссылку])
Converts the references in the specified formula from one type to another.
текст_формулы | The formula to be converted. |
из_а1 | Whether references in the formula are in A1 or R1C1 format. The possible values are: |
|
ЛОЖЬ | The references are in R1C1 format |
ИСТИНА | The references are in A1 format |
|
к_а1 | Whether references in the formula are converted to A1 or R1C1 format. The possible values are: |
|
ЛОЖЬ | The references are converted to R1C1 format |
ИСТИНА | The references are converted to A1 format |
|
| If this parameter is omitted the format is not changed. |
к_ссыл_тип | Whether references in the formula are converted to use absolute or relative reference type. The possible values are: |
|
1 | Absolute row, absolute column |
2 | Absolute row, relative column |
3 | Relative row, absolute column |
4 | Relative row, relative column |
|
| If this parameter is omitted the reference type is not changed. |
ссылка_на_ссылку | The cell that R1C1 references are relative to. If this parameter is omitted it defaults to the cell containing this function. |
ФОТКР(имя_файла, [номер_доступа])
Opens a file for reading or writing. The return value is a file number that can be passed as a parameter to the ФЧИТ, ФЧИТКС, ФЗАП, ФЗАПКС, ФПОЗ, ФРАЗМЕР and ФЗАКР functions.
имя_файла | The name of the file to open. |
номер_доступа | The access required to the file. The possible values are: |
|
1 | Open the file for reading and writing. The file must already exist. |
2 | Open the file for reading only. The file must already exist. |
3 | Create a new file for reading and writing. The file will be cleared if it already exists. |
|
| If this parameter is omitted it defaults to 1. |
ФПОЗ(номер_файла, [тип_позиции])
Returns the current read/write position in a file, and optionally allows you to change it.
номер_файла | The file number that was returned by the ФОТКР function. |
тип_позиции | The location where the next read or write will occur. |
| If this parameter is omitted the current position is not changed. |
ФРАЗМЕР(номер_файла)
Returns a size of a file.
номер_файла | The file number that was returned by the ФОТКР function. |
ФЧИТ(номер_файла, число_литер)
Returns a string of characters from a file.
номер_файла | The file number that was returned by the ФОТКР function. |
число_литер | The number of characters to read. |
ФЧИТКС(номер_файла)
Returns a string of characters from a file, up to the next end of line marker.
номер_файла | The file number that was returned by the ФОТКР function. |
ЦВЕТ.ПАЛИТРА(имя_файла)
Copies the color palette from another file.
имя_файла | The name of the file from which to copy the palette. The file must already be open. If this parameter is an empty string then the colors are reset to the default values. |
ШИРИНА.СТОЛБЦА([ширина_число], [ссылка], [стандартный], [тип_число], [стандарт_число])
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. |
ШКАЛА([мин_число], [макс_число], [основной], [вспомогательный], [пересекать], [логарифмический], [обратный], [макс])
Changes the attributes of the selected chart value axis scale.
мин_число | The minimum value. If this parameter is omitted the setting is not changed. |
макс_число | The maximum value. If this parameter is omitted the setting is not changed. |
основной | The major step value. If this parameter is omitted the setting is not changed. |
вспомогательный | The minor step value (not currently implemented). |
пересекать | The value at which the opposite axis crosses this axis (not currently implemented). |
logarлогарифмическийithmic | Whether this scale is linear or logarithmic. The possible values are: |
|
ЛОЖЬ | The scale is linear. |
ИСТИНА | The scale is logarithmic. |
|
| If this parameter is omitted the setting is not changed. |
обратный | Whether the scale values are show in reverse order (not currently implemented). |
макс | Whether the opposite axis crosses this axis at the maximum value (not currently implemented). |
ЭХО([флаг])
Controls screen updating while a macro is running.
флаг | Whether to update the screen while the macro is running. The possible values are: |
|
ЛОЖЬ | Do not update the screen |
ИСТИНА | Do update the screen |
|
| If this parameter is omitted the setting is toggled. |