Master sheet into template, copy template to sheets named after master column.
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.
Re: Master sheet into template, copy template to sheets named after master column.
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.
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:-
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By deepsi1 in forum Excel Programming / VBA / Macros
Last Post: 05-12-2013, 11:30 AM
By hieldy in forum Excel Programming / VBA / Macros
Last Post: 03-05-2013, 05:40 AM
By jlaurnm in forum Excel Programming / VBA / Macros
Last Post: 07-13-2012, 08:09 PM
By Monique Rebanks in forum Excel Programming / VBA / Macros
Last Post: 03-28-2010, 04:04 PM
By dylanemcgregor in forum Excel Programming / VBA / Macros
Last Post: 01-06-2010, 02:28 PM
Search Engine Friendly URLs by vBSEO 3.6.0 RC 1