Macro to go into options??

Submersed

Board Regular
Joined
Jul 6, 2007
Messages
167
Office Version
  1. 365
Platform
  1. Windows
Can you make a macro that goes to
Tools>options>edit (tab) then untick the box ask to update automatic links

Is that possible?

If so ... I also need it to come up before the message asking about the links when the document first opens?

Am I able to turn the display alerts off and then straight back on after it has done that message?

Many Thanks
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Part 1 of your question:

Sub Macro1()
'
' Macro1 Macro
' Macro recorded 7/24/2007 by Jim May
'

'
Application.AskToUpdateLinks = False
End Sub
 
Upvote 0
Hi .....

Application.AskToUpdateLinks = False
Will untick the update automatic links box.

Application.DisplayAlerts = False will get rid of message about do you wish to update links, place in a workbook open event
 
Upvote 0
Hi Submersed

When you open a workbook...Do you want to
Turn off displayalerts
turn off update links..
then turn displayalerts back on?
 
Upvote 0
Hi,

Thanks for the replies!

Yea..I would like for that links box, (the one that appears after enable macros) to be hidden! thats the only alert i need hiding!

So yea..pretty much what u said

Thanks
 
Upvote 0

Forum statistics

Threads
1,214,923
Messages
6,122,289
Members
449,077
Latest member
Rkmenon

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top