Table Only Visible When Selected From a Drop-Down list

mike&jess

New Member
Joined
Aug 3, 2012
Messages
7
Hi,

I was just wondering is there was a way to Select a project name from a drop down list, then match its name up with the name of a table, and the table will appear on a worksheet.

Eg; [TABLE="width: 331"]
<tbody>[TR]
[TD][TABLE="width: 331"]
<tbody>[TR]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 331"]
<tbody>[TR]
[TD]Project Number[/TD]
[TD]Project Name[/TD]
[/TR]
[TR]
[TD]C2269[/TD]
[TD]Spring Farm[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
When the table says Spring Farm, a ready made table (below) will appear.[/TD]
[/TR]
[TR]
[TD][TABLE="width: 171"]
<tbody>[TR]
[TD]Spring Farm[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10/05/2011[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]23/05/2011[/TD]
[TD="align: right"]8
[/TD]
[/TR]
</tbody><colgroup><col><col></colgroup>[/TABLE]
[/TD]
[/TR]
</tbody><colgroup><col><col></colgroup>[/TABLE]
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
There are several possible approaches:
  1. Have the tables on a worksheet and have the drop-down cell feed a cell with a HYPERLINK() formula. You pick the table name and then click on the hyperlink.
  2. Using an event macro, detect the pull-down selection and copy the table to an adjacent area.
  3. Using an event macro, detect the pull-down selection and display the appropriate table as a Picture.
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,915
Members
452,366
Latest member
TePunaBloke

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