Results 1 to 25 of 25

VBA to split commissions from one sheet to multiple sheets and summarize by account type

Threaded View

  1. #17
    Registered User
    Join Date
    09-14-2018
    Location
    USA
    MS-Off Ver
    Office 2016
    Posts
    23

    Re: VBA to split commissions from one sheet to multiple sheets and summarize by account ty

    I'm doing my best to understand the code but it's been awhile since I had Visual Basic .NET in college

    I have it set up so that I can paste my report data into the Data tab and Sheet1 pulls that data and formats it properly. I found a workaround to the tab length restriction of 31 characters. It's not in this file because I changed the salesperson names but for salespeople that have more than 31 characters, it does a vlookup on Sheet2 and replaces it with an abbreviated name. I also added a disclaimer macro to run at the end of the CreateReports macro to insert a short disclaimer at the end of the data on each tab.

    I changed the paste command to be PasteValuesAndNumberFormatting which seems to have partially fixed some of the data that was populating the new tabs. The dates are now correctly showing on the salesperson tabs, however, I'm still having trouble with the layout of some of the reports. I'm hoping that by changing the paste command I haven't messed up anything else.

    Would you be able to help me figure out why the formatting doesn't work as it did in the original sample file? I tried to have that sample file be similar to the way the actual report looks. I opened the sample file again and made a second ABC Corporation electric account and the formatting came out the same as the report attached to this post.

    Anything you can do to help would be greatly appreciated.
    Attached Files Attached Files
    Last edited by xceler8or; 09-24-2018 at 04:50 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Split one Sheet into multiple sheets
    By puneetjain in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-14-2018, 04:19 AM
  2. Replies: 4
    Last Post: 06-13-2014, 01:20 PM
  3. [SOLVED] Split Data from one sheet into multiple sheets
    By jstewart22 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-11-2013, 06:54 PM
  4. need vba to split sheet into multiple sheets
    By thuff in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-20-2013, 04:39 PM
  5. [SOLVED] Split large sheet in multiple 1000 row sheets
    By thotosch in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-14-2013, 06:29 AM
  6. [SOLVED] Split master sheet data to multiple sheets in same workbook
    By Apple Ling in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-26-2012, 10:39 PM
  7. i need to split excel work sheet into multiple sheets
    By samehnabil in forum Excel General
    Replies: 1
    Last Post: 08-16-2012, 07:54 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