+ Reply to Thread
Results 1 to 4 of 4

Sort data into a separate worksheet using a template

  1. #1
    Registered User
    Join Date
    06-27-2011
    Location
    Vancouver, BC
    MS-Off Ver
    Excel 2003
    Posts
    2

    Sort data into a separate worksheet using a template

    My unit works with several spreadsheets with similar types of information. They all have a recipient, financial coding, calculations of budgets and amount funded. We often use a template in excel and enter vlookup functions in each of the cells then print them one by one. We have over 150 recipients so this can be time consuming.

    I attached a scaled down version of a spreadsheet we often use. Is there a way I can use a macro to automatically sort the data by recipient on each tab using a template? I'm not that familiar with macros so I've been unable to get it to work.
    Attached Files Attached Files

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Sort data into a separate worksheet using a template

    This little macro will do that.
    Please Login or Register  to view this content.
    I attached that to the button on your template, click and it will print all the codes from the other sheet.
    Attached Files Attached Files
    Last edited by JBeaucaire; 09-01-2011 at 01:01 AM. Reason: corrected attachment
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    06-27-2011
    Location
    Vancouver, BC
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Sort data into a separate worksheet using a template

    This works great. Thank you for the macro. We can definately use this for a lot of our spreadsheets. Is there anyway we can print to creat pdf's?

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Sort data into a separate worksheet using a template

    Make your PDF printer your default printer and it should work as is.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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