+ Reply to Thread
Results 1 to 2 of 2

Issue with finding data source using CurDir

  1. #1
    Registered User
    Join Date
    10-26-2004
    Location
    Burbank, CA
    MS-Off Ver
    2010
    Posts
    6

    Issue with finding data source using CurDir

    Hello,

    I'm having an issue with my code below. I'm using the CurDir function to find the current directory (which also holds the data csv file). The directory is found as well as the file, but when trying to query the data source I get the error too few parameters expected 2. When I place the data source file into my local C:\ drive and run the application file from the existing location which is a mapped network drive, everything runs as it should. Only when I place the data source into the network drive, I get that error. Any ideas what may be causing this?

    Thanks in advance.

    Please Login or Register  to view this content.

  2. #2
    Forum Expert Kenneth Hobson's Avatar
    Join Date
    02-05-2007
    Location
    Tecumseh, OK
    MS-Off Ver
    Office 365, Win10Home
    Posts
    2,573

    Re: Issue with finding data source using CurDir

    To find the CurDir:
    Please Login or Register  to view this content.
    If you want to reset it:
    Please Login or Register  to view this content.
    Or, you can use the activeworkbook or that workbook's path:
    Please Login or Register  to view this content.

+ 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