Populating Cells using VBA based on Values from another sheet

amazon_devil

New Member
Joined
Jul 30, 2018
Messages
4
I am trying to figure out a tidy way to write the following scenario.

Worksheet A
Has a list that, from project to project will vary in the number of rows in it.

Example of information in Worksheet A. Data to be used in Calendar Month column.
Calendar MonthStart DateEnd Date
Jul-1801/07/201831/07/2018
Aug-1801/08/201831/08/2018
Sep-1801/09/201830/09/2018
Oct-1801/10/201831/10/2018
Nov-1801/11/201830/11/2018
Dec-1801/12/201831/12/2018

<tbody>
</tbody>













Worksheet B
Tracking sheet that is using the list from Worksheet A, to populate the titles of columns going across the sheet.


I want the script to use the value in each of the rows (3 times each before moving to the next row) from Worksheet A, across the top of worksheet B to create the titles for a table.
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
:confused: So what does worksheet B look like?
 
Upvote 0

Forum statistics

Threads
1,214,982
Messages
6,122,580
Members
449,089
Latest member
Motoracer88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top