+ Reply to Thread
Results 1 to 3 of 3

Populating data in Sheet1 of the attached workbook from Access table

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    02-20-2009
    Location
    bristol
    MS-Off Ver
    Excel 2003
    Posts
    882

    Populating data in Sheet1 of the attached workbook from Access table

    Hi ALl

    For my project , I am using Excel as a fronend and Access as a backend. Now, I want to write the code in workbook_Open event that will copy data in Column L,M,N,O from Access table. The query should select data from Access table where Date=Todays Date. All the Queue Names and corresponding Queue Numbers are stored in Sheet2 of the attached workbook. In Access table , there are three fields named as Type,Type1,Type2 which make up Queue numbers.

    In Sheet1 , There are Queue Names and we have to store Total Batches,Totl Envelopes,total Documents and total Pages for the corresponding Queue Names in Sheet1. SO for this we need to check the Queue Numbers of the Queue names in SHeet2 but in table Queue Numbers are equal to Type & Type1 & Type2.

    Please see attached the workbook.

    Any help would be much appreciated.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    02-20-2009
    Location
    bristol
    MS-Off Ver
    Excel 2003
    Posts
    882

    Re: Populating data in Sheet1 of the attached workbook from Access table

    All, The Queue number consist of Type & Type1 & Type2. SO in Access table, there is no Queue number field but the Queue number is the combinantion of Type,Type1 and Type2 fields .

    The sheet2 stores Queue Names for the corresponding Queue numbers. In Sheet1, In column A all the Queue Names are stored. Now for each Queue Name, we need t find Queue Number from Sheet2 and check in the Access table if that Type&Type1&Type2=Queue Number and if yes then find total Batches,Envelopes,Documnts and Pages and store in Sheet 1 against the corresponding Queue Names.

    I hope I made it clear. ANy questions please let me know.

    Thanks

  3. #3
    Forum Contributor
    Join Date
    02-20-2009
    Location
    bristol
    MS-Off Ver
    Excel 2003
    Posts
    882

    Re: Populating data in Sheet1 of the attached workbook from Access table

    Hey Forum Gurus, Please help me in this. I have a tight deadline for this.. Plssssss help me out.

+ 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. Replies: 2
    Last Post: 10-01-2014, 07:31 PM
  2. Copy data in sheet1 using sheet 2 and Access table data.
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-06-2014, 05:05 AM
  3. Replies: 2
    Last Post: 07-31-2014, 11:15 PM
  4. How to copy data from sheet1 of one workbook to sheet1 of another workbook
    By manidipa in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-22-2014, 07:11 PM
  5. Pivot table populating via Access query
    By alphaboomer in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-01-2012, 04:15 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