ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Setting "save as" and "save" (https://www.excelbanter.com/excel-programming/434389-setting-save-save.html)

Jess

Setting "save as" and "save"
 
"I have an access application which generates an excel sheet; excel is
launched from access. I would like to implement the following behavior.

Whenever my user clicks €śsave€ť or €śsave as€ť excel should filled out the
"file name" field with a given name I will choose €“excel uses book1 as
default and I do not wish this. Additionally the €śsave as€ť combo box should
be set to macro-enabled workbook.

How can I accomplish this?

Thanks


JP[_4_]

Setting "save as" and "save"
 
Check out the Excel.Application.GetSaveAsFileName Method.

http://msdn.microsoft.com/en-us/libr...ffice.11).aspx

--JP

On Oct 1, 1:27*pm, Jess wrote:
"I have an access application which generates an excel sheet; excel is
launched from access. I would like to implement the following behavior.

Whenever my user clicks “save” or “save as” excel should filled out the
"file name" field with a given name I will choose –excel uses book1 as
default and I do not wish this. Additionally the “save as” combo box should
be set to macro-enabled workbook.

How can I accomplish this?

Thanks




All times are GMT +1. The time now is 12:42 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com