Consulting

Results 1 to 6 of 6

Thread: Solved: userform error 424

  1. #1

    Solved: userform error 424

    Hi all,

    I?m having problems trying to get a userform to show. I keep getting a 424 error, object required. I can't figure out what I?m doing wrong, why it doesn?t know where the userform is. How do I tell it where to look?

    Please help; this is only my second attempt at using userforms. i've attached workbook.

    Thanks,

  2. #2
    VBAX Mentor tpoynton's Avatar
    Joined
    Feb 2005
    Location
    Clinton, MA
    Posts
    399
    Location
    it's the picture; i recall having trouble inserting a picture. my solution was to use the controls toolbox to insert a picture, instead of trying to set the picture property of the userform itself.

  3. #3
    Moderator VBAX Guru Simon Lloyd's Avatar
    Joined
    Sep 2005
    Location
    UK
    Posts
    3,003
    Location
    Just a simple typo!
    [VBA]
    TextBox1 = sheets1.Range("Q2").Value
    [/VBA]should read:
    [VBA]
    TextBox1 = sheet1.Range("Q2").Value
    [/VBA]so change all sheets1 to sheet1.
    Regards,
    Simon
    Please read this before cross posting!
    In the unlikely event you didn't get your answer here try Microsoft Office Discussion @ The Code Cage
    If I have seen further it is by standing on the shoulders of giants.
    Isaac Newton, Letter to Robert Hooke, February 5, 1675 English mathematician & physicist (1642 - 1727)

  4. #4
    picture? do you mean the userform background image? if so i tried that and still no luck.

  5. #5
    thanks simon, just could'nt see it.

  6. #6
    Moderator VBAX Guru Simon Lloyd's Avatar
    Joined
    Sep 2005
    Location
    UK
    Posts
    3,003
    Location
    Your welcome glad you're sorted!
    Regards,
    Simon
    Please read this before cross posting!
    In the unlikely event you didn't get your answer here try Microsoft Office Discussion @ The Code Cage
    If I have seen further it is by standing on the shoulders of giants.
    Isaac Newton, Letter to Robert Hooke, February 5, 1675 English mathematician & physicist (1642 - 1727)

Posting Permissions

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