Page 2 of 2 FirstFirst 1 2
Results 11 to 16 of 16

Thread: Data transferring and report/chart printing.

  1. #11


    Register for a FREE account, and/
    or Log in to avoid these ads!

    Yes thank you!! Yeah only what i will need anymore is that get those emotions names in that chart but if it isn't possible its ok I can't thank you enought about helping me in this! I would never get this done without your help!

  2. #12
    OH and one thing still i'm sorry.. Is there possible to do like automatic save. I mean when someone votes by pressing answer button, so is there any chance to program it doing automatic save for excel workbook same time?

  3. #13
    Administrator Ken Puls's Avatar
    Join Date
    Mar 2011
    Location
    Nanaimo, BC, Canada
    Posts
    2,453
    Articles
    44
    Blog Entries
    14
    Excel Version
    Excel Office 365 Insider
    oh yeah, that part is easy...

    Right click on the Query sheet tab and select "View Code". That should take you right into the correct code module. Right before the line that says "End Sub", put in the following:

    Code:
    Thisworkbook.Save
    Ken Puls, FCPA, FCMA, MS MVP

    Learn to Master Your Data at the Power Query Academy (the world's most comprehensive online Power Query training), with my book M is for Data Monkey, or our new Power Query Recipe cards!

    Main Site: http://www.excelguru.ca -||- Blog: http://www.excelguru.ca/blog -||- Forums: http://www.excelguru.ca/forums
    Check out the Excelguru Facebook Fan Page -||- Follow Me on Twitter

    If you've been given VBA code (a macro) for your solution, but don't know where to put it, CLICK HERE.

  4. #14
    Thanks! Now i can start make layout looking good. If you get idea how to get see emotions in chart so let me know, but if not its ok because its not so important.

  5. #15
    its me again. Is it possible that when i click answer button it same time refresh the pivotchart also? Thank you again!

  6. #16
    Administrator Ken Puls's Avatar
    Join Date
    Mar 2011
    Location
    Nanaimo, BC, Canada
    Posts
    2,453
    Articles
    44
    Blog Entries
    14
    Excel Version
    Excel Office 365 Insider
    Sure. In that macro, put the following below the "End With" line (just above the 'Let the user know of success" line)

    Code:
    'Refresh the pivot table
    Worksheets("Report").PivotTables("PivotTable2").PivotCache.Refresh
    If you are using your own workbook, you'll need to update "PivotTable2" to the name of your pivot table.
    Ken Puls, FCPA, FCMA, MS MVP

    Learn to Master Your Data at the Power Query Academy (the world's most comprehensive online Power Query training), with my book M is for Data Monkey, or our new Power Query Recipe cards!

    Main Site: http://www.excelguru.ca -||- Blog: http://www.excelguru.ca/blog -||- Forums: http://www.excelguru.ca/forums
    Check out the Excelguru Facebook Fan Page -||- Follow Me on Twitter

    If you've been given VBA code (a macro) for your solution, but don't know where to put it, CLICK HERE.

Page 2 of 2 FirstFirst 1 2

Posting Permissions

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