Results 1 to 5 of 5

VBA - Creating a new named sheet with a sheet template

Threaded View

  1. #1
    Registered User
    Join Date
    01-09-2012
    Location
    Thetford, England
    MS-Off Ver
    Excel 2003
    Posts
    21

    VBA - Creating a new named sheet with a sheet template

    Example Sheet.xlsHello everyone,

    I am relatively new to VBA and would like to know how to create a new sheet automatically. I have a workbook to be used to create quotations for customers with two sheets, the first is a form in which the customer selects various options relating to the product they would like and the second is a template for a printout page. Each different item that a customer buys needs a separate printout sheet in the format of the template sheet. What I would like is a way to use vba to create sheets for new items, for example when the user enters item number "2" on the form sheet a new sheet is created with the format of the printout template and the sheet name "Item 2", however if a sheet for that item number already exists the form outputs the data on to the existing sheet rather than creating a new one.

    Thanks in advance for your help,

    Glen
    Last edited by Glensafro; 01-09-2012 at 06:49 AM. Reason: Solved

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