+ Reply to Thread
Results 1 to 2 of 2

Create new sheet based on a template

  1. #1
    Registered User
    Join Date
    02-08-2014
    Location
    Evesham
    MS-Off Ver
    Excel 2010
    Posts
    1

    Create new sheet based on a template

    I thought that this would be a fairly simple spreadsheet, however my boss has added a few bits which frankly have left me baffled. Essentially I have a master template with colimns running from A to Q. Most of what she wanted is fairly simple 'if' statements, however she also wants to move the contents of one cell to an adjacent sell based on the number exceeding a certain value, thanks to some help from someone on another forum that code works a treat.

    Please Login or Register  to view this content.

    My problems start when I want to create a new sheet/tab and let her name it. I would have simply created 12 months for her, unfortunately there is a sheet for a number of people and the start of the year can vary. My simple solution was to create a macro that copies the original Template (effectively sheet 1) and puts it into the newly created tab. However this does not copy the above VBA code across

    Please Login or Register  to view this content.
    In all fairness every time I read myself what I want I get confused, but any help on this would really be appreciated

    Thanks in advance

    Paul

  2. #2
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: Create new sheet based on a template

    To copy a worksheet you're better off using

    Please Login or Register  to view this content.
    That copies all objects and associated code
    Last edited by AndyLitch; 02-10-2014 at 03:43 AM.
    Elegant Simplicity............. Not Always

+ 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] Create new sheet from template, auto fill from index sheet and hyperlink
    By RichTea88 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-06-2013, 04:57 AM
  2. Replies: 11
    Last Post: 05-12-2013, 11:30 AM
  3. Summarize Sheets onto one Sheet / Create New Sheet from Template with Button
    By albizzundy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-12-2013, 01:33 PM
  4. [SOLVED] Enter a name to Create a new sheet with a template and sheet name is the person's name
    By Kram222 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-11-2012, 09:55 PM
  5. [SOLVED] Create new sheets based on template from master sheet data/information?
    By jlaurnm in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-13-2012, 08:09 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