![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Guest
Posts: n/a
|
I have a macro and I load it into a button in the toolbar. However, when I click the button from other workbooks, I got an Visual Basic Error Message "400"
What should I do to solve this problem?? Thanks in advance |
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Sunny, spring-like Hull
Posts: 3,339
|
Error 400 is defined as follows in the VB help:-
"You can't use the Show method to display a visible form as modal. This error has the following cause and solution: You tried to use Show, with the style argument set to 1 – vbModal, on an already visible form. Use either the Unload statement or the Hide method on the form before trying to show it as a modal form." |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|