+ Reply to Thread
Results 1 to 3 of 3

1004 Error - Application or object defined error

  1. #1
    Registered User
    Join Date
    08-01-2012
    Location
    United Kingdom
    MS-Off Ver
    Office 2010
    Posts
    71

    1004 Error - Application or object defined error

    Hi

    When I run my macro I get a Run-time 1004 Error on EE_Id, EE_Id is Long - could somebody please tell me where I'm going wrong with this? (I get the same error if I use EE_Id or EE_Id.Value)

    Please Login or Register  to view this content.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,644

    Re: 1004 Error - Application or object defined error

    If EE_Id is declared as Long the error message would be 'Invalid Qualifier...'.

    The error you describe is more likely a problem with Cells(RowNumRTW, 1).

    What's the value of RowNumRTW when you get the error?
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    08-01-2012
    Location
    United Kingdom
    MS-Off Ver
    Office 2010
    Posts
    71

    Re: 1004 Error - Application or object defined error

    0 - I forgot to tell it what FirstRowRTW and LastRowRTW actually are.

    Cheers

+ 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