Opening User Forms

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pengiliverpool
    New Member
    • Oct 2007
    • 9

    Opening User Forms

    i have designed a userform and everything works ok on my computer. to view the form a macro has been recorded to a button with the code, userform1.show. this macro is called showform().
    when somone else tries to view the form they are greeted with an error, when you click debug the error is the macro to open the form. can anyone shed any light on this?
    i cant understand why i can use this but nobody else can
    thank you
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    Kindly post what exactly is the error message.

    Comment

    • pengiliverpool
      New Member
      • Oct 2007
      • 9

      #3
      when the button is clicked to display the form the error reads.
      Run-Time error '1004':
      Application defined or object-defined error

      when you debug the error is in the macro:

      Sub ShowForm()
      UserForm1.Show
      End Sub

      and the userform1.show line is highlighted.
      any help wiould be greatfully apreciated

      Comment

      • hariharanmca
        Top Contributor
        • Dec 2006
        • 1977

        #4
        application defined or object defined error
        Will this helpfull for you.

        Comment

        • pengiliverpool
          New Member
          • Oct 2007
          • 9

          #5
          hi i have had a look at this and downloaded some other files for the other users who will access this workbook and form. it still doesnt work. i work in an office so all computers have the same spec and files included. the form works perfectly for me but nobody else can use it

          Comment

          • pengiliverpool
            New Member
            • Oct 2007
            • 9

            #6
            i have sent the file to my home pc and it works but still doesnt on the other office pc's we have tried various releases of windows and excel with no joy, any ideas please

            Comment

            Working...