VBA to Insert Table on Every Worksheet

Small Paul

Board Regular
Joined
Jun 28, 2018
Messages
118
Hi

I have a table of data (variable number of rows, columns A-R) with an identifier in column K (again, variable row count e.g. A, B, C, C, C, D, D, E etc.). The table is then split into new worksheets with each worksheet named according to data in column K. So far so good!

I now need to add a new table (columns A-K) onto each of the worksheets, beneath the existing data. This will then be:
a) populated by data from each data set (columns D, E, B, G, H, I, J, L, M, N, O)
b) exported (table not worksheet) and saved as an individual pdf

Any help / advice / pointers would be greatly appreciated.

Many thanks
Small Paul.
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

Forum statistics

Threads
1,224,827
Messages
6,181,200
Members
453,022
Latest member
RobertV1609

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