+ Reply to Thread
Results 1 to 3 of 3

VBA: 1004 Error as well as Run time error 5

  1. #1
    Registered User
    Join Date
    01-06-2011
    Location
    London, England
    MS-Off Ver
    Excel 2007, Excel 2010
    Posts
    39

    VBA: 1004 Error as well as Run time error 5

    Hi Guys,

    I need your help on these two things, if you can help me out, I would really appreciate it as my entire reporting tool depends on these two things to work.

    The 1004 run time error happens in the following part of code to pull data from another excel sheeet:

    Please Login or Register  to view this content.
    That is where I get the 1004 runtime error, and specifically at the part:

    Please Login or Register  to view this content.
    The Run time error 5: Happens here:

    Please Login or Register  to view this content.
    Hope you guys can help!

    Cheers!

    P.S. I am using Excel 2010, but the main users all have 2007
    Last edited by DonkeyOte; 03-09-2011 at 07:40 AM. Reason: CODE rather than QUOTE tags please

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: VBA: 1004 Error as well as Run time error 5

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    01-06-2011
    Location
    London, England
    MS-Off Ver
    Excel 2007, Excel 2010
    Posts
    39

    Re: VBA: 1004 Error as well as Run time error 5

    Project scrapped, marking as solved.

    Thank you for all your help!

+ 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