Creating a specific table using VBA

HACZN12

New Member
Joined
Apr 20, 2017
Messages
14
To Whom it Concerns,
I’m looking to create a 3 layered table which to start withwould look like follows:

Table
Design
Construction
Delay

<tbody>
</tbody>


The table should link to 3 fields within the spreadsheet for


Design:
Construction:
Delay:

Once the values are placed into the fields the table shouldautomatically create the appropriate number of rows, for example if Design was1, Construction was 3 and Delay was 3; the table would look as follows:

Table

Design
1
Fomula 1
Formula 2
Formula 3
Fomula 4
Fomula 5
Construction
2
Fomula 1
Formula 2
Formula 3
Fomula 4
Fomula 5
3
Fomula 1
Formula 2
Formula 3
Fomula 4
Fomula 5
4
Fomula 1
Formula 2
Formula 3
Fomula 4
Fomula 5
Delay
5
6
7

<tbody>
</tbody>



I would also want to ensure the numbering on the left handsite automatically populated (in this instance it should read from 1-7), andthat specific formula are input into each of the columns and dropped down(which is difficult as the banners for construction and delays segregate thetable into three parts).


I’ve looked online and done a lot of research; this is apretty difficult macro to put together so any help would be much appreciated,


Let me know if you require further information, happy toelaborate


Many Thanks

Hacz
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

Forum statistics

Threads
1,214,520
Messages
6,120,013
Members
448,935
Latest member
ijat

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