+ Reply to Thread
Results 1 to 2 of 2

Run-time error '424': Object required

  1. #1
    Registered User
    Join Date
    05-20-2005
    Posts
    1

    Unhappy Run-time error '424': Object required

    I'm trying to insert a calendar in Excel and after I coded the following code, I keep getting the error.

    Sub OpenCalendar()
    frmCalendar.Show
    End Sub

    which is in the PERSONAL.XLS - Module1(Code) with the drop down menu are
    (General) & OpenCalendar

    any ideals how to fix?

    thanks...

    E.Z.

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Good morning Ez_cali

    Yes. Your code is attempting to call userform frmCalendar and there isn't one there - or at least not where Excel is expecting to find it!. Do you have a userform designed and called frmCalendar. If so, exactly where is it stored. It needs to be stored in the same file as the code.

    HTH

    DominicB

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1