Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default 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



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 151
Default 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



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default 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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to write value vincent Excel Discussion (Misc queries) 1 March 18th 10 04:28 AM
How to write an If Then VBA Marcie Excel Programming 2 July 30th 06 09:18 PM
is it possible to execute write to the fields in another .xsl form a macro in another .xsl? e.g. some way to load another .xsl into an .xsl macro and write to its data? Daniel Excel Worksheet Functions 1 June 23rd 05 11:38 PM
How to I write a UDF? Dr. Juzzy Excel Discussion (Misc queries) 1 January 30th 05 02:17 PM
Better way to write this VBA Heather[_5_] Excel Programming 0 September 29th 03 06:54 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"