Consulting

Results 1 to 4 of 4

Thread: Viewing Access Data in Excel

  1. #1
    VBAX Newbie
    Joined
    Jul 2005
    Posts
    3
    Location

    novice to this

    i have a access in MSO2000 which will get updated daily
    a table named CAP_Payment is with the following contents
    Rcptno, Rcptdt, Bacno, amount, Paymode, Bankcd, Docno, Docdt, Name, Mobileno, Bankname, type and few others not of much importance
    i need to view the same daily in a excel sheet based on query 'from' 'to' date
    this wil be helpful to find duplicate entries
    and custom sum based on Type and Paymode (cash&cheque/DD)
    thanks


    jai

  2. #2
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,478
    Location
    Hi Jai,
    Welcome to VBAX.
    I have created a new thread for your question.
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  3. #3
    VBAX Mentor Justinlabenne's Avatar
    Joined
    Jul 2004
    Location
    Clyde, Ohio
    Posts
    408
    Location
    I am assuming you have the query completed.

    If that is true, what is the queries name?

    If the query is completed, and you just want to view it in Excel,

    Lookup the OutputTo command in the help:

    [VBA]DoCmd.OutputTo acOutputQuery, YourQueryName, acFormatXLS, "NewBook.xls", True[/VBA]
    Justin Labenne

  4. #4
    VBAX Master Norie's Avatar
    Joined
    Jan 2005
    Location
    Stirling, Scotland
    Posts
    1,831
    Location
    Why do you need Excel to find duplicates and sum?

    All that could be done in Access.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •