Do Until Workbook Opens

Jetx227

Board Regular
Joined
Jul 11, 2018
Messages
96
Hi guys,
So I found this thread from a while ago (2008) https://www.mrexcel.com/forum/excel-questions/361577-wait-till-workbook-opens-calculates.html and the idea behind it is exactly what I want, for my code to wait until the workbook is open. In my case (and maybe just because this was used with a much older version), I keep running an error where it thinks the workbook I want to open is corrupt. I'm not sure if it's due to that this code was made with a much older version, or for some other reason. My code before this is basically doing a "save as" to rename a file, which usually automatically opens the new file you saved. Not sure if this could run that error. Anyway, thanks for any help you guys got!
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.

Forum statistics

Threads
1,224,823
Messages
6,181,173
Members
453,021
Latest member
Justyna P

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