dialog boxes when executing VBA

ItalianPlatinum

Well-known Member
Joined
Mar 23, 2017
Messages
793
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hello - I have code that will open a workbook then perform activities. But when doing so the user needs to click through the below two boxes. is there a way to have the code always "update" and "continue?"

1600358681345.png

1600358708169.png
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Modify your code so the workbook open line includes the updatelinks argument:

Workbooks.Open Filename:="filepath & name between the quote marks", UpdateLinks:=False
 
Upvote 0
Modify your code so the workbook open line includes the updatelinks argument:

Workbooks.Open Filename:="filepath & name between the quote marks", UpdateLinks:=False
ok so if i want to update links i just do true?
 
Upvote 0
Try adding these lines before and after the Workbooks.Open ....... line
Before:
Application.DisplayAlerts = False
After:
Application.DisplayAlerts = True
 
Upvote 0

Forum statistics

Threads
1,215,036
Messages
6,122,794
Members
449,095
Latest member
m_smith_solihull

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