+ Reply to Thread
Results 1 to 10 of 10

New tab within excel automatically?

  1. #1
    Registered User
    Join Date
    02-28-2012
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    8

    New tab within excel automatically?

    Hello,

    Is it possible that excel can copy a template tab and create a new tab automatically when requested?

    I am trying to create a spread sheet to log all spends within the department but need to be able to generate a front sheet for each purchase order request. I have attached the spread sheet and have highlighted what I am trying to create.

    I have never used visual basics so am completely in the dark, can excel do this sort of thing?

    Thanks in advance for any help
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    10-26-2008
    Location
    Birmingham, UK
    MS-Off Ver
    All versions up to 2010
    Posts
    1,025

    Re: New tab within excel automatically?

    Hi
    Please see possible solution attached and let me know if it suits your needs.
    To create the purchase order simply double click in column L on the row for which you want to create the Purchase Order.
    Good luck.
    Tony
    Attached Files Attached Files

  3. #3
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: New tab within excel automatically?

    Similar solution, but with some improvements.
    Attached Files Attached Files
    Cheers!
    Tsjallie




    --------
    If your problem is solved, pls mark the thread SOLVED (see Thread Tools in the menu above). Thank you!

    If you think design is an expensive waste of time, try doing without ...

  4. #4
    Registered User
    Join Date
    02-28-2012
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: New tab within excel automatically?

    Tony,

    That works fantastic. That has saved me about a year trying to work it out. Thanks for your help
    David

  5. #5
    Registered User
    Join Date
    02-28-2012
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: New tab within excel automatically?

    Tsjallie,

    This is great. Is it possible to insert a column between Date and Company and Call this Week. I have tried to do this but it changes the formula.

    Thanks
    David

  6. #6
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: New tab within excel automatically?

    Yes, that's very well possible. I will look into it when I get home. Will probably introduce named ranges to refer to the columns (they have absolute references).
    This makes referencing them more flexible so you can insert or remove columns whilst maintaining the correct references.

  7. #7
    Registered User
    Join Date
    02-28-2012
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: New tab within excel automatically?

    Again many thanks.

    If I wanted to repeate the layout of the colums and duplicate for 12 months would it be as simple as copying colums A-L in the M-W and so on? Either that or I will link 12 sheets to a master to monitor spends v budget.

  8. #8
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: New tab within excel automatically?

    Here's the sample which allows you to insert or remove columns whilst still referencing the correct columns.

    If I wanted to repeate the layout of the colums and duplicate for 12 months would it be as simple as copying colums A-L in the M-W and so on?
    Guess you're referring to the Summary Sheet. I'm sure that can be done. Guess that would only take a minor adjustment to the macro. Will look into that.
    Do you want the sheet covering all 12 months already or do you want to add new periods only when needed?
    Does 1 period equal 1 month?
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    02-28-2012
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: New tab within excel automatically?

    You are correct 1 period is 1 month. I would like them all in the same place so when I come to review everything it is easier than 12 tabs! I have just copied and pasted the information to make the 12 periods. Is this possible to read from the 1 sheet?
    Attached Files Attached Files

  10. #10
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: New tab within excel automatically?

    Here's a workbook with all 12 period on sheet.
    I did take the liberty to arrange the periods vertically iso horizontally.
    As you're not familair with vba I've been looking for a solution without having to introduce more coding.
    Further explaination is on the Raised POs sheet.
    Hope this works for you.
    Attached Files Attached Files

+ 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] Save file from excel-vba without excel automatically inserting quotes
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-06-2013, 09:22 AM
  2. Replies: 3
    Last Post: 12-05-2012, 03:56 AM
  3. Update Excel table in Word automatically from data in Excel
    By yvonnedemulder in forum Excel General
    Replies: 1
    Last Post: 12-06-2005, 02:55 PM
  4. Replies: 1
    Last Post: 10-31-2005, 03:05 PM
  5. Replies: 1
    Last Post: 10-31-2005, 03:05 PM

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