"Opening file" Bar in Office 2010 Excel is blocking VBA execution

Hans810

Board Regular
Joined
Dec 1, 2005
Messages
63
Dear all,

I have a large VBA programme which was working very wel in the MSOffice 2003 version.
Now we have installed MSOffice 2010, the VBA is halting after some time.
We found out that in the Excel sheet, which is being approached by the VBA, a bar is shown in the upper part of the sheet, saying: "Do you want to open this file?"
Can someone tell my how to avoid this bar popping up. I assume that I can put some VBA lines in the ThisWorkbook section in the VBA.
That means that the VBA is blocking this popping-up bar right at the loading of the Excel file.
Any suggestions
Thanks in advance and kind greetings from Holland
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Hello Hans from Holland,

There are some techniques that can suppress warning or information messages; however it would be better to understand the cause for that message before trying to make it go away.

If you'll provide some more information, we may be able to help you diagnose that.

1. Is this happening when your VBA code is trying to open an existing workbook?
2. Does it happen when you manually do the same steps that the VBA is doing?
3. Could you describe this "bar" more clearly? Is this a user dialog window? What is the entire text displayed?
4. Does the workbook being opened have external links?
 
Upvote 0
If you are talking about Protected View, is your code opening the workbook in question?
 
Upvote 0
If you are talking about Protected View, is your code opening the workbook in question?

Ahh....that would make sense as something one would call a bar instead of a window.

I haven't seen that warning since Day 2 of using Excel 2010 when I turned it off! ;)
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,306
Members
452,633
Latest member
DougMo

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