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

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Welcome to the Board

Can you post the URL for actual testing?
 
Upvote 0

Forum statistics

Threads
1,214,971
Messages
6,122,520
Members
449,088
Latest member
RandomExceller01

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