Results 1 to 3 of 3
  1. #1
    djspod is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Mar 2015
    Posts
    164

    Access 2013 - Bar charts and pivot charts solution

    Hi ,

    What's the best work around solution to display Graphs and pivot chart data from my tables in Access 2013?



    I heard that you now have to go outside the program via excel (Exporting Data)

    Thanks

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    I do not have 2013 booted up right now but I do not believe there is an option for Pivot Tables anymore.
    https://support.office.com/en-za/art...d-9a2dfef68e2f

    It seems you still have the option for charts. I have automated excel to place a graphic that was exported from Access.

    I think this is working code. It only demonstrates part of what is needed for multiple charts.
    Code:
    Dim xlApp As Excel.Application
    Dim myBook As Workbook
    Dim mySheet As Worksheet
    Dim myChart As ChartObject
     
    Set xlApp = CreateObject("Excel.Application")
    Set myBook = xlApp.Workbooks.Open("C:\Test\" & "TestChart.xlsx")
    Set mySheet = myBook.Sheets.Item(1) 'Grab the first worksheet
    xlApp.Visible = False
        For Each myChart In mySheet.ChartObjects
        myChart.Activate
        
            With xlApp.ActiveChart
            .Export ("C:\Test\" & "TestChart_" & myChart.Index & ".bmp")
            End With
        
        Next  'Iterate all chart objects in mySheet
    myBook.Close
    xlApp.Quit
    Set myBook = Nothing
    Set mySheet = Nothing
    Set myChart = Nothing
    Set xlApp = Nothing
    If you need a really complex chart or a pivot chart (I think that is what the pivot thing is called in excel) you will have to automate excel and feed data to it.

  3. #3
    djspod is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Mar 2015
    Posts
    164
    Thanks for help and information.

    I will give that a try and feedback.

    Thanks

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Charts in Access 2013
    By Pure Salt in forum Access
    Replies: 3
    Last Post: 09-05-2014, 03:35 AM
  2. Replies: 3
    Last Post: 08-08-2013, 01:43 PM
  3. Pivot tables and charts - Access or Excel
    By kkrishna in forum Access
    Replies: 1
    Last Post: 06-06-2010, 04:52 AM
  4. Pivot Charts
    By Vikki in forum Access
    Replies: 3
    Last Post: 02-08-2010, 11:14 AM
  5. Pivot Charts
    By Ruby in forum Access
    Replies: 0
    Last Post: 11-16-2007, 05:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums