Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50070

Dynamically link Table data across several worksheets

$
0
0
Here's one for whomever is up to the challenge...:)

I'm needing to link Table data from several worksheets into* another Table of the same name (with the exception of the auto-appended number suffix), dependent on whether the worksheet's name is in a dynamic list.

*Well to be technically correct, the linked data doesn't have to be within the respective Table. It can be outside/below... and if so, the Tables will not have a Total Row, but rather an outside Table total row (which to be technically correct, may not even be a total... but a data processing formula of some sort).

The gist is to just have the data be dynamically linked and immediately below the respective same-name Table so it can be analyzed accordingly. Essentially, the linked in data is a subset of the worksheet it is linked into.

I've manually made up and attached a sample file. The respective Tables across worksheets depict two rows of data each, but the Tables themselves will be dynamic, with at least one row but otherwise unlimited in the number of rows it may have.

An added bonus would be a column that indicates from which worksheet the data came from. The number of columns will be constant for each Table, but that is mostly for making sure new and deleted table rows shift everything within a set horizontal bounds shifts down or up... so adding more Table columns for this purpose isn't a problem as long as the same number is maintained across the sheet.

Perhaps a little to much to ask from the get go, but I need the linked in data formatted differently. Number format, font and size, and borders will be the same as the host's, per column. I would like the difference to be black fill and font color the same as the fill of the upper left cell of the host Table.

Would really appreciate help on this. I'm just a novice at VB!!!
Attached Files

Viewing all articles
Browse latest Browse all 50070

Trending Articles