VBA insert Data program

knightfall

New Member
Joined
Oct 13, 2013
Messages
27
I have an excel program where I must enter the name of the winning team in a cell and their score in another cell and the name of the losing team in a cell and their score in yet another cell.</SPAN>
I have the program set to manually calculate. I calculate 3 sheets one at a time. I have recorded a macro that does this for me.</SPAN>
Enter name </SPAN></SPAN>
Enter score</SPAN></SPAN>
Enter name</SPAN></SPAN>
Enter Score</SPAN></SPAN>

<TBODY>
</TBODY>



Once this is done then I move to the next set of teams that I have on another sheet in the workbook. The number of games played can range anywhere of 1 to 50.</SPAN>

Winner</SPAN></SPAN>
Score</SPAN></SPAN>
Loser</SPAN></SPAN>
Score</SPAN></SPAN>
Name1</SPAN></SPAN>
1</SPAN></SPAN>
Name2</SPAN></SPAN>
0</SPAN></SPAN>
Name2</SPAN></SPAN>
2</SPAN></SPAN>
Name3</SPAN></SPAN>
2</SPAN></SPAN>
Name3</SPAN></SPAN>
2</SPAN></SPAN>
Name4</SPAN></SPAN>
1</SPAN></SPAN>
Name4</SPAN></SPAN>
1</SPAN></SPAN>
Name5</SPAN></SPAN>
1</SPAN></SPAN>
Name5</SPAN></SPAN>
3</SPAN></SPAN>
Name6</SPAN></SPAN>
3</SPAN></SPAN>
Name6</SPAN></SPAN>
4</SPAN></SPAN>
Name7</SPAN></SPAN>
2</SPAN></SPAN>
Name7</SPAN></SPAN>
2</SPAN></SPAN>
Name8</SPAN></SPAN>
1</SPAN></SPAN>
Name8</SPAN></SPAN>
1</SPAN></SPAN>
Name9</SPAN></SPAN>
1</SPAN></SPAN>
Name9</SPAN></SPAN>
2</SPAN></SPAN>
Name1</SPAN></SPAN>
1</SPAN></SPAN>
Name10</SPAN></SPAN>
3</SPAN></SPAN>
Name2</SPAN></SPAN>
1</SPAN></SPAN>

<TBODY>
</TBODY>



I am in need of a VBA program that would automatically insert and run all the games in the other spread sheet for me.</SPAN>
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

Forum statistics

Threads
1,216,028
Messages
6,128,393
Members
449,446
Latest member
CodeCybear

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