Load player names into FORM automatically

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.

On the FORM there are radio buttons before the 'Yes' and 'no' words. They are used 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.
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 in to the column below the word 'Everyone' of the form below?
The player names to load on the FORM are on the worksheet named ‘PLAYERS’ and reside at location of B2 – B17.

Maximum 16 Players
Load Players
Will Play
Player

Yes
no
Everyone

Yes
no


Yes
no


Yes
no


Yes
no


Yes
no


Yes
no


Yes
no


Yes
no


Yes
no


Yes
no


Yes
no


Yes
no


Yes
no


yes
no


Yes
no


yes
no



<tbody>
</tbody>

Thank you for any help you can provide me.

Rod
 

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.

jjasmith4

Board Regular
Joined
Aug 22, 2018
Messages
59
You don't need code. Select the 16 cells underneath "Everyone", then type "=PLAYERS!B2:B17" and hit Ctrl-Shift-Enter, not just Enter. That's an array formula, and it will look like this "{=PLAYERS!B2:B17}", with curly braces.
 
Upvote 0

Norie

Well-known Member
Joined
Apr 28, 2004
Messages
76,367
Office Version
  1. 365
Platform
  1. Windows
By 'FORM' do you mean a userform?

If you do then you should look into using a listbox for the players.

That could be easily populated from the list and it could be set up so there is a checkbox next to each player.

That checkbox could be used to indicate whether or not a player is selected to play.
 
Upvote 0

Forum statistics

Threads
1,196,013
Messages
6,012,857
Members
441,736
Latest member
Tkpmm

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
Top