Populating column values based on drop down selection

thiyaga90

New Member
Joined
Jul 4, 2017
Messages
1
I have list of Tables and their field names in sheet 1 like below

Table 1 - T1 Field 1 - T1 Field 2 - T1 Field 3 ...
Table 2 - T2 Field 1 - T2 Field 2 - T2 Field 3 ...
Table 3 - T3 Field 1 - T3 Field 2 - T3 Field 3 ...


In sheet I have drop down which will populate all table values (Table 1, Table 2, Table 3)
If i select Table 1 in drop down(say cell A1), then fields values of correspondind table should get populated in B1, C1 and D1 respetively.

I dont want to use Excel formulas for the same, since they are taking more time for loading. Please guide me how can i write VBA code for the same.
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

Forum statistics

Threads
1,224,820
Messages
6,181,162
Members
453,021
Latest member
Justyna P

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