+ Reply to Thread
Results 1 to 2 of 2

VBA - Importing from Access to Excel

  1. #1
    Registered User
    Join Date
    03-29-2012
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    11

    VBA - Importing from Access to Excel

    Thanks in advance for any help offered. My project is as follows:

    I have a number of columns that I want to have filled in when a user enters a date, a start time, and an end time. What this information is doing is pulling data from Access based on the date it was entered and then the time it was entered, between the start and end time selected. The columns that the data is entered into is not in the same order as those in the Access file.

    So far, here is what I have:

    Please Login or Register  to view this content.
    What this does is place some of the data into the incorrect columns, does not account for the Date/Time desire, and has some data missing completely.

    The starting cell is B10 and ends at a point determined by the amount of data being pulled.

    Any help that can be offered would be great!

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: VBA - Importing from Access to Excel

    Hi

    Not really sure exactly what you are asking for help to do.

    If you want the output to start in B10, then change the line
    Please Login or Register  to view this content.
    to be
    Please Login or Register  to view this content.
    or specifically nominate B10 as the output cell.

    If you want to restrict the selection criteria then you will have to add the qualifying items to the selection string. Where are the details entered on Import that you want to use to modify the query?

    rylo

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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