Load FORM with data from Excel worksheet

Status
Not open for further replies.

Nitehawkhp

New Member
Joined
Dec 2, 2016
Messages
37
Hello again,

I have a FORM that is used to select players/teams to play in a tournament, and then macros will generate brackets for the competition.
The 'Yes' and 'No' cells also have radio buttons to select who will be playing during that round of competition.
I have been unsuccessful at developing a macro that will automatically populate the player names on the form in cells with Player 1, Player 2, Player 3, and continues through Player 16. Therefore, I have added a button on the form, shown below, called LOAD PLAYERS.

Can someone help me with the code to load the player names where then names are BLUE in the form below?
The player names are on the worksheet named ‘PLAYERS’ and reside at location of B2 – B17.

[TABLE="class: grid, width: 350, align: left"]
<tbody>[TR]
[TD="align: center"]Maximum 16 Players[/TD]
[/TR]
</tbody>[/TABLE]


[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD="align: center"] Will play[/TD]
[TD="align: center"] Player[/TD]
[TD="align: center"] Load Players[/TD]
[/TR]
</tbody>[/TABLE]


[TABLE="class: grid, width: 340, align: left"]
<tbody>[TR]
[TD="align: center"] Yes[/TD]
[TD] No[/TD]
[TD="align: center"] Everyone[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]Yes[/TD]
[TD="align: center"]No[/TD]
[TD="align: center"]Player1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]Yes[/TD]
[TD="align: center"]No[/TD]
[TD="align: center"]Player 2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]Yes[/TD]
[TD="align: center"]No[/TD]
[TD="align: center"]Player 3[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]Yes[/TD]
[TD="align: center"]No[/TD]
[TD="align: center"]Player 16[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
When this gets posted on the page it looks completely different that what I have tried to draw it.
I just don’t understand how to get the table to look like I have it in the Excel worksheet.
Just know that there should not be any big gaps between the rows.

Thank you for any help you can provide.

Rod
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,222,437
Messages
6,166,022
Members
452,008
Latest member
Customlogoflipflops

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