Userdefined Ribbon - Blank VBA message box

Romanoff2011

New Member
Joined
Mar 16, 2011
Messages
2
I have a problem with a userdefined Ribbon on open the excel file loading data into it with VBA.

Suddenly, during loading data into the worksheet i get a error message.

=> The message box that appears has no words, number or any other information on it. It is a totally blank VBA message box with the 'vbCritical' icon on it (red circle with the white X in it) with 'OK' and 'Help' buttons.

I click on the 'OK' button and the loading continues, everything is loading correct.
[ I load the data from a big txt-file (372MB).]

What it makes me thinking, if the txt-file is much smaller no error message appears.
If i use the 'old'-excel templae without the ribbon, i do not get this error message.

I just found a note in a tm1-forum:
"I have seen cases where the Excel 2007 ribbon is "demolished" when running a (basic) Excel VBA macro."
Source: http://www.tm1forum.com/viewtopic.php?f=3&t=2596

How can this issue be solved ?
How can this error message be avoided?

Thanks for any comments!

Regards,
Roman
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Issue solved.

In Excel2007:
The feature getVisible="GetVisible" and getEnabled="GetEnabled" is not working properly, delete everything of it in XML and VBA.
Also, delete the ******="Ribbon******" in the customUI.XML

Test in Excel2010:
No issue, no problems, there, it seems to work more stable.
 
Upvote 0

Forum statistics

Threads
1,214,914
Messages
6,122,211
Members
449,074
Latest member
cancansova

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