Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "Основная";
Текущий архив: 2005.07.25;
Скачать: [xml.tar.bz2];

Вниз

Параметры ф-ции Excel.ActiveWorkbook.SaveAs   Найти похожие ветки 

 
onics   (2005-07-08 17:19) [0]

Добрый день. Не подскажите, за что отвечают 2 - 5 параметр ф-ции?
Excel.ActiveWorkbook.SaveAs(name_f, 11, false,   false, false, false);
Спасибо.


 
isasa ©   (2005-07-08 17:23) [1]

Открываем VB в Exel и читаем HELP

Saves changes to the workbook in a different file.

expression.SaveAs(FileName, FileFormat, Password, WriteResPassword, ReadOnlyRecommended, CreateBackup, AccessMode, ConflictResolution, AddToMru, TextCodepage, TextVisualLayout, Local)
expression    Required. An expression that returns one of the above objects.

Filename    Optional Variant. A string that indicates the name of the file to be saved. You can include a full path; if you don"t, Microsoft Excel saves the file in the current folder.

FileFormat    Optional Variant. The file format to use when you save the file. For a list of valid choices, see the FileFormat property. For an existing file, the default format is the last file format specified; for a new file, the default is the format of the version of Excel being used.

Password    Optional Variant. A case-sensitive string (no more than 15 characters) that indicates the protection password to be given to the file.

WriteResPassword    Optional Variant. A string that indicates the write-reservation password for this file. If a file is saved with the password and the password isn"t supplied when the file is opened, the file is opened as read-only.

ReadOnlyRecommended    Optional Variant. True to display a message when the file is opened, recommending that the file be opened as read-only.

CreateBackup    Optional Variant. True to create a backup file.

AccessMode   Optional XlSaveAsAccessMode.

XlSaveAsAccessMode can be one of these XlSaveAsAccessMode constants.
xlExclusive (exclusive mode)
xlNoChange default (don"t change the access mode)
xlShared (share list)
If this argument is omitted, the access mode isn"t changed. This argument is ignored if you save a shared list without changing the file name. To change the access mode, use the ExclusiveAccess method.


ConflictResolution    Optional XlSaveConflictResolution.

XlSaveConflictResolution can be one of these XlSaveConflictResolution constants.
xlUserResolution (display the conflict-resolution dialog box)
xlLocalSessionChanges (automatically accept the local user"s changes)
xlOtherSessionChanges (accept other changes instead of the local user"s changes)
If this argument is omitted, the conflict-resolution dialog box is displayed.


AddToMru    Optional Variant. True to add this workbook to the list of recently used files. The default value is False.

TextCodePage    Optional Variant. Not used in U.S. English Microsoft Excel.

TextVisualLayout    Optional Variant. Not used in U.S. English Microsoft Excel.

Local   Optional Variant. True saves files against the language of Microsoft Excel (including control panel settings). False (default) saves files against the language of Visual Basic for Applications (VBA) (which is typically US English unless the VBA project where Workbooks.Open is run from is an old internationalized XL5/95 VBA project).



Страницы: 1 вся ветка

Форум: "Основная";
Текущий архив: 2005.07.25;
Скачать: [xml.tar.bz2];

Наверх




Память: 0.45 MB
Время: 0.012 c
14-1120196645
Ega23
2005-07-01 09:44
2005.07.25
С днем рождения! 1 июля


14-1119592535
Игорь Шевченко
2005-06-24 09:55
2005.07.25
Юрий Зотов, с днем рождения!


1-1120805538
Demidoff
2005-07-08 10:52
2005.07.25
Как заглушить ошибку?


1-1120559510
Kolan
2005-07-05 14:31
2005.07.25
Как главному потоку узнать что другой уже закончил работу.


14-1120381468
Nous Mellon
2005-07-03 13:04
2005.07.25
Простой, надеюсь, вопрос по Си





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский