Thanks Thanks:  0
Likes Likes:  0
Results 1 to 2 of 2

Thread: Visual Basic Error Message

  1. #1


    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. #2
    MrExcel MVP
    Join Date
    Feb 2002
    Sunny, spring-like Hull
    Post Thanks / Like
    0 Post(s)
    0 Thread(s)


    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."

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts