+ Reply to Thread
Results 1 to 4 of 4

Centered columns in a large pivot table

  1. #1
    Registered User
    Join Date
    08-22-2016
    Location
    MTL, CA
    MS-Off Ver
    2013
    Posts
    60

    Question Centered columns in a large pivot table

    Three of my columns are set as centered. For whatever reason, some rows (out of 18000) will be right-aligned and it seems to be random.

    I did this code.

    Please Login or Register  to view this content.
    .... but it is painfully slow and takes minutes.

    What should I look for to improve this?

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,260

    Re: Centered columns in a large pivot table

    That code should not take minutes, but it would be better to use something like:

    Please Login or Register  to view this content.
    Note that if you have numeric cells with a padded format, like Accounting, then they will appear right-aligned even if the cell is set to centered.
    Remember what the dormouse said
    Feed your head

  3. #3
    Registered User
    Join Date
    08-22-2016
    Location
    MTL, CA
    MS-Off Ver
    2013
    Posts
    60

    Re: Centered columns in a large pivot table

    Thank you for the corrected syntax.

    Still slow.

    If I don't fix it with VBA, here is how it looks (permission denied on image upload). All columns in general format.

    https://live.staticflickr.com/65535/...b259dd07_n.jpg

  4. #4
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,260

    Re: Centered columns in a large pivot table

    I can't tell anything from a picture.

+ 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. [SOLVED] Using pivot table to lookup data from large table, but would like to edit
    By JimDandy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-08-2017, 12:29 PM
  2. Replies: 7
    Last Post: 02-27-2017, 07:41 AM
  3. Large Pivot Table Printing
    By pcargila in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-10-2010, 12:18 PM
  4. issues inserting columns with merged and centered cells
    By rhart00 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-27-2010, 08:32 PM
  5. Pivot table and large text
    By Lista in forum Excel General
    Replies: 1
    Last Post: 03-19-2007, 08:50 AM
  6. Multi-Sheet Pivot Table Too Large
    By Jack in forum Excel General
    Replies: 2
    Last Post: 03-23-2006, 11:55 AM
  7. [SOLVED] Pivot Table Too Large?
    By JenL in forum Excel General
    Replies: 1
    Last Post: 02-28-2006, 12:10 PM

Tags for this Thread

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