Tick a checkbox online from Excel VBA

destiny_em

New Member
Joined
Mar 3, 2020
Messages
1
Office Version
  1. 2016
Platform
  1. Windows
Hi,

I have a website with different different checkboxes, all with their own ID.

I also have a list in Excel, each with their corresponding ID of the checkbox that is currently online.

Example:
Text 1 | Checkbox ID 1
Text 2 | Checkbox ID 2
Text 3 | Checkbox ID 3

What I would like (if someone can kindly help me), is to be able to run a macro in Excel to tick any of the boxes on the page that appear on my list in Excel, and ignore the items in the list that are not on that page. Once all of the boxes that are on both the Excel file and the web page are ticked, just stop the macro there and leave the web page open. (ie, Text 2 might not be on the page, so just tick the two checkboxes that correspond with Text 1 and Text 3, then stop the macro).

The next part of this, is the list continues on a second page on the website. I would like to be able to run this code on whichever page I choose.

Can anyone help me?

I hope I have explained this properly!

Thanks in advance!
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Forum statistics

Threads
1,225,740
Messages
6,186,759
Members
453,370
Latest member
juliewar

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