Results 1 to 27 of 27

Using macros to save drilldowns with file names.

Threaded View

  1. #1
    Registered User
    Join Date
    02-17-2020
    Location
    London
    MS-Off Ver
    Microsoft 365
    Posts
    40

    Using macros to save drilldowns with file names.

    Good afternoon,

    I am currently trying to create a macro where pivot table subtotals are taken and split by their client.
    Once the file is opened, the columns have to be autofit, and the sheet has to be saved as the name of the client.

    I've tried multiple methods without success.

    Also, the potential client list is 45, and I have 30 regular ones; will I have to create it with all 45 in the pivot table in case they appear one week.

    Any help would be appreciated.

    Thank you.

    So on the attached example I will have to click on the subtotals.
    Initially B4
    In this case there doesn't have to be any auto fit adjusting but in the actual data I will have to, then I want to save the file as the name of the client A.
    Either from their own workbook or the summary work book.

    The order of the clients might change and also some maynot be present next week, while some new ones maybe.

    Is there a way to create a macro to handle this and the many variables at play.

    Thank you.
    Attached Files Attached Files
    Last edited by sahmed95; 02-17-2020 at 12:27 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Macro to open Excel file, run other macros save, and close file & repeat.
    By Ronnet2 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-08-2015, 09:47 AM
  2. Need macro that opens .txt file in excel, run macros and save file in batch
    By khalidness in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-11-2014, 11:00 AM
  3. Replies: 15
    Last Post: 08-27-2012, 10:13 AM
  4. Macros To Save Worksheet as New xlsx file & Save Another Worksheet As A Text File
    By KeithT in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 11-16-2011, 05:13 PM
  5. changing file names with macros
    By trevor@OML in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-09-2005, 12:25 PM
  6. multiple file names in macros
    By tfcc in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-09-2005, 02:05 PM
  7. [SOLVED] save excel file from a table delimited file (.txt) using macros
    By sedamfo in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 02-15-2005, 01:06 AM

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