+ Reply to Thread
Results 1 to 2 of 2

Master sheet into template, copy template to sheets named after master column.

  1. #1
    Registered User
    Join Date
    03-26-2015
    Location
    Portsmouth
    MS-Off Ver
    2013
    Posts
    2

    Question Master sheet into template, copy template to sheets named after master column.

    Hi

    I am doing some excel work for a volunteer run group who run bookable trips on specific dates. I receive the schedule of dates with the drivers names and time of the trip. I have managed to make up a workbook that creates worksheets for each scheduled trip date off a template that names the sheets as the date. They can then click on the date to get a form that they complete with childrens names, tel contact and next of kin contact, that they can send out to the drivers.

    What I am struggling with is, to set into the template references that will carry the other date specific data of the schedule I receive. - driver name, start time, destination etc into each worksheet of the corresponding date.

    Is there syntax that will allow me to code on the template a way to lookup the worksheet name, and reference the data in that date row on the schedule sheet. That way when I run the VBA code to create the worksheets for each date, the details of that dates trip go on the worksheet too?

    I hope this makes sense.

    Thanks Mariner

  2. #2
    Registered User
    Join Date
    03-26-2015
    Location
    Portsmouth
    MS-Off Ver
    2013
    Posts
    2

    Re: Master sheet into template, copy template to sheets named after master column.

    Making progress.

    So far with no rants.

    I found how to make a cell return the name of the worksheet. At the moment it just says template, but after I run the VBA it should return the worksheet name. Which will be a date.

    =MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,256)

    Now to write reference to the CELL lookup in index column schedule and return row values into the template. i.e Driver name on the worksheet form should return the driver name on the schedule sheet by looking in the schedule column 1 for the CELL name/date and return the driver name from that row on to the form. Then for each cell I want to retain the data for.

    Something like this:-

    Image2.jpg

+ 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. Replies: 11
    Last Post: 05-12-2013, 11:30 AM
  2. Macro to populate a word template and feed an excel master sheet
    By hieldy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-05-2013, 05:40 AM
  3. [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
  4. Create a pivot table template/master copy?
    By Monique Rebanks in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-28-2010, 04:04 PM
  5. Copy from template to first empty row in a master workbook?
    By dylanemcgregor in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 01-06-2010, 02:28 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