Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Turn off Excel's 'want to update info?' prompts


Thanks a lot for the hint Tom, didn't know this :)

The idea would be, however, that the 'Ask to update links' optio
should be turned off automatically regardless of the machine on whic
the Workbooks are being opened (the end user may be using anothe
machine).

That is, i would rather deactivate this option with VBA cod
'exploiting' some event that comes before Excel asks the question abou
the updating.

I tried the Workbook_Open() private sub (for the 'Workbook open' event
and the code:

Application.AskToUpdateLinks = False

The problem with this one is that Excel first asks to update th
links, and THEN the 'Workbook open' event is fired, and the private su
above is executed and deactivates the 'Ask to update links' option.

Is there any way i can deactivate this option before Excel asks th
user to update?

Thank you very much for your help :)

Ale

--
Alex Hatzisava
-----------------------------------------------------------------------
Alex Hatzisavas's Profile: http://www.excelforum.com/member.php...fo&userid=1455
View this thread: http://www.excelforum.com/showthread.php?threadid=26812

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Turn off Excel's 'want to update info?' prompts

No. No code is run before links are updated.

--
Regards,
Tom Ogilvy


"Alex Hatzisavas" wrote in
message ...

Thanks a lot for the hint Tom, didn't know this :)

The idea would be, however, that the 'Ask to update links' option
should be turned off automatically regardless of the machine on which
the Workbooks are being opened (the end user may be using another
machine).

That is, i would rather deactivate this option with VBA code
'exploiting' some event that comes before Excel asks the question about
the updating.

I tried the Workbook_Open() private sub (for the 'Workbook open' event)
and the code:

Application.AskToUpdateLinks = False

The problem with this one is that Excel first asks to update the
links, and THEN the 'Workbook open' event is fired, and the private sub
above is executed and deactivates the 'Ask to update links' option.

Is there any way i can deactivate this option before Excel asks the
user to update?

Thank you very much for your help :)

Alex


--
Alex Hatzisavas
------------------------------------------------------------------------
Alex Hatzisavas's Profile:

http://www.excelforum.com/member.php...o&userid=14559
View this thread: http://www.excelforum.com/showthread...hreadid=268123



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
Turn off prompts Keith Excel Discussion (Misc queries) 1 November 9th 09 09:48 PM
change info in 1 cell, prompts you for another redb Excel Discussion (Misc queries) 2 September 1st 05 11:56 AM
Take info on spreadsheet and turn it in a report andreah Excel Discussion (Misc queries) 1 August 25th 05 05:45 PM
How do I turn off info box "This document was sent to the printer. blangkamp Excel Discussion (Misc queries) 0 March 7th 05 02:23 PM
Turn off Excel's 'want to update info?' prompts Alex Hatzisavas[_6_] Excel Programming 1 October 11th 04 12:45 PM


All times are GMT +1. The time now is 11:03 AM.

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

About Us

"It's about Microsoft Excel"