How can I code VBA with named table

Hayabusa

New Member
Joined
Jun 19, 2021
Messages
1
Office Version
  1. 2019
Platform
  1. Windows
Hi, I'm trying to create a league tournament for a 10 deck vs. 10 deck card game.


For each victory I fix the score of the duel and click on a button to launch the macro which will implement the different tables.

I name my tables with the name of the decks. My question: I have 2 dropdown menus for the 2 lists of 10 decks so I want to note the score at the right table (so the first value will refer to the name of the table then the second value will refer to the column of this table)


Then test if the row is empty if true I write the score in the right column and the right row.
 

Attachments

  • Example.png
    Example.png
    72.1 KB · Views: 19

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

Forum statistics

Threads
1,215,006
Messages
6,122,665
Members
449,091
Latest member
peppernaut

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