Hello Experts,
The attached file shows what I am trying to do...
I am going to make a userform that allows a user to enter details of a vehicle and a driver. That form will enter the relevant detail into rows on the 'Data' sheet starting from B2 - Registration, Make, Model, etc... Only 2 to 6 cars will be entered at any time and a new file will be used for subsequent vehicle entries.
This is for an email to be sent to each vehicle owner with all the details within.
When all the data is entered on the 'Data' sheet, I want to map cells containing data to specific cells on the 'Cards' sheet. I.e. B2 (Registration number) will be copied to E6 on the 'Cards' sheet and so on.
The idea is that if only two vehicles are recorded then only two of the coloured blocks containing formatted data will appear. If a third vehicle is entered I want a third formatted block to appear below the first (as in the example).
I have already worked out how to use conditional formatting to colour the cells according to whether B2 contains any data (indicating there is a row to copy across). I have also worked out how to display nothing if column B contains nothing (no row of data).
What I am trying to do now is copy the text from column A in 'Data' to the merged and centred cell at the top of each coloured block. So, if there is an extra row of data, it will be copied across to the relevant cells, the surrounding cells given a colour then the title (Vehicle 1, vehicle 2...) from column A copied above.
How do I get the title to copy across?
Is there an easier way to achieve any of what I am doing??
Thanks,
Stuart
Bookmarks