简体   繁体   中英

VBA open excel from e-mail in outlook

Is it possible to open an excel file from an e-mail via VBA in excel?

example setup:

  • daily mail with an excel file attached

Need:

  • Opening that attached excel file from excel (via VBA) and saving it to a local location

Is the opening of an excel file stored in outlook even possible in VBA Excel?

Check that link:

Save attachments to a folder and rename them

To open an Excel file in VBA:

Workbooks.Open Filename:="C:\\attachment.xls"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM