+ Reply to Thread
Results 1 to 3 of 3

Retrieve Data Bug

  1. #1
    Registered User
    Join Date
    05-04-2014
    Location
    Hong Kong
    MS-Off Ver
    Excel 2010
    Posts
    2

    Retrieve Data Bug

    Hi, so the guy before me at this firm used to run this VBA to retrieve data from other files. What it does is take a number from a separate file every day and then list it for the month.

    I personally have limited knowledge of VBA. Today when I ran it (making no changes to the code) I got a 1004 error where the path name and date pulled was wrong. In debug, I highlighted the problem code in red. Any help would be much appreciated, thank you!

    Please Login or Register  to view this content.
    Last edited by FDibbins; 05-05-2014 at 12:31 AM. Reason: code tags added

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Retrieve Data Bug

    Hi and welcome to the forum

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    I will add them for you - this time
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    05-04-2014
    Location
    Hong Kong
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Retrieve Data Bug

    Thanks, sorry I didn't read the rules.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Userform: Retrieve data from excel sheet and overwrite with new data in the same rows
    By Pbawal in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-09-2014, 11:49 AM
  2. Compare cell data and Column data and retrieve corresponding data
    By bharath.duraiswamy in forum Excel General
    Replies: 1
    Last Post: 11-06-2013, 05:59 AM
  3. Replies: 6
    Last Post: 01-23-2013, 02:21 PM
  4. Replies: 1
    Last Post: 07-26-2011, 02:58 AM
  5. Retrieve Data
    By abusuffian in forum Excel General
    Replies: 0
    Last Post: 02-16-2011, 09:28 PM

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