+ Reply to Thread
Results 1 to 4 of 4

Currency formatting macro for pivot tables

  1. #1
    Registered User
    Join Date
    11-22-2016
    Location
    New York, NY
    MS-Off Ver
    2016
    Posts
    37

    Currency formatting macro for pivot tables

    Hi there,

    I have a macro that turns numbers into the currency format that my company likes to use, and I am wondering if there is an easy way to apply this format to a field in a pivot table.

    Please Login or Register  to view this content.
    It's a pain to change the number format of a pivot field every single time I make a pivot! Any help is appreciated, thanks in advance.

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Currency formatting macro for pivot tables

    You will have to modify this code to match sheet names, pivot table name and field name. Note that the field name is "Sum of ..."
    Please Login or Register  to view this content.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Currency formatting macro for pivot tables

    Hi,

    For the selected pivot field
    Please Login or Register  to view this content.
    or to apply to all value fields in the selected pivot table
    Please Login or Register  to view this content.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  4. #4
    Registered User
    Join Date
    11-22-2016
    Location
    New York, NY
    MS-Off Ver
    2016
    Posts
    37

    Re: Currency formatting macro for pivot tables

    Thank you very much, this appears to be working. This has annoyed me for awhile so thanks again!

+ 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. Currency Formatting macro!!!!!
    By marvinabou7890 in forum Excel Programming / VBA / Macros
    Replies: 41
    Last Post: 06-28-2016, 10:18 PM
  2. formatting pivot tables
    By stephme55 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-07-2016, 02:47 AM
  3. Replies: 2
    Last Post: 02-25-2013, 01:55 AM
  4. Copying pivot tables as data tables with formatting
    By wolis in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-17-2012, 12:57 AM
  5. Replies: 1
    Last Post: 04-25-2011, 01:17 PM
  6. [SOLVED] Pivot Tables and Formatting
    By Debra Dalgleish in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-06-2005, 06:05 AM
  7. [SOLVED] Pivot Tables and Formatting
    By Neily in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM

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