ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How to write VBA (https://www.excelbanter.com/excel-programming/422580-how-write-vba.html)

March

How to write VBA
 
I would like to write VBA instead of the description below:

If I have an Excel file to open with the Warning Security like

"This Workbook contains linked to other data sources.
- To update all linked info, click Yes,
- To keep the existing info, click No.",

how wirte the VBA code to get rid of above Msgbox.


Thanks,

March




Libby

How to write VBA
 
Private Sub Workbook_Open()
Application.AskToUpdateLinks = False
End Sub


"March" wrote:

I would like to write VBA instead of the description below:

If I have an Excel file to open with the Warning Security like

"This Workbook contains linked to other data sources.
- To update all linked info, click Yes,
- To keep the existing info, click No.",

how wirte the VBA code to get rid of above Msgbox.


Thanks,

March




March

How to write VBA
 
Thanks.


"Libby" wrote:

Private Sub Workbook_Open()
Application.AskToUpdateLinks = False
End Sub


"March" wrote:

I would like to write VBA instead of the description below:

If I have an Excel file to open with the Warning Security like

"This Workbook contains linked to other data sources.
- To update all linked info, click Yes,
- To keep the existing info, click No.",

how wirte the VBA code to get rid of above Msgbox.


Thanks,

March





All times are GMT +1. The time now is 05:36 PM.

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