+ Reply to Thread
Results 1 to 3 of 3

VBA Runtime Error - '424' Object Required

  1. #1
    Registered User
    Join Date
    07-02-2012
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    2

    VBA Runtime Error - '424' Object Required

    Hi all,

    I have a code running on my accounting spreadsheet that is supposed to move an invoice from one worksheet to another when its status is changed from a dropdown. for example - Invoices come in and are input onto this spreadsheet and once paid, i want them to move accross to a worksheet called 'Approved' and then if disputed move to a different worksheet.

    The code i have in place is as follows.

    Please Login or Register  to view this content.
    Everytime i try and change the status of an invoice, i get a runtime error 424. However it does still run the macro ie the invoice moves accross anyway!

    Any help/advice would be appreciated.

    Thanks

  2. #2
    Valued Forum Contributor Steffen Thomsen's Avatar
    Join Date
    10-15-2010
    Location
    Kolding, Denmark
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    953

    Re: VBA Runtime Error - '424' Object Required

    What line is highlighted when you go into debug mode?
    Please take time to read the forum rules

  3. #3
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: VBA Runtime Error - '424' Object Required

    you can't check target again after you deleted it. change the code to use an If...ElseIf structure like this
    Please Login or Register  to view this content.
    Josie

    if at first you don't succeed try doing it the way your wife told you to

+ 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