VBA If statement Exercices help

leonardo6479

New Member
Joined
Feb 21, 2023
Messages
1
Good morning, i have to do this exercise about VBA but i'm quite lost. Someone can help me for write the code?
Here the text and the imagine of the table:
  1. Using a while and an if statement to scan a table.
    Manage tp highlight in red and bold in the table found in the worksheet “Exercise 7” the names of the teams that won the games. If the game is a draw, then both team’s names must be highlighted in blue.
Thank you to everybody will try to help me :)

Schermata 2023-02-21 alle 10.08.38.png
 
Last edited by a moderator:

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Welcome to the Board!

While we are willing to provide some hints/assistance, please do not expect us to do your assignments for you. That would be unethical, and you really don't learn much if we do it for you.
However, we are willing to provide some "hints". Check out the on-line details of how these functions work:

So armed with that knowledge, try it yourself and see how you do.
If you get stuck, post the code you attempted here, and we can provide a critique and some hints on how to correct it.
 
Upvote 0

Forum statistics

Threads
1,215,054
Messages
6,122,897
Members
449,097
Latest member
dbomb1414

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