I corrected what you told me and I dont get the error now but nothing seems to happen in the worksheet. Was wondering sijpie is there somewhere in the code that should declare that I want the program to colour cells from "CheckBoxLink" to T5?
I thought maybe "Change "1" and "A" to suit" had something to do with it?
Application.OnTime dTime, "ColorCell"
lRow = lRow + 1
'Change "1" and "A" to suit
Sheets(1).Cells(lRow, "A").Interior.Color = 65535
I thought you had sorted out the action to be taken first, so you know it works.
So what your ColorCell does at the moment is set the colour for Ax to yellow, with x incrementing every 30 minutes.
So it changes the colour of Column A.
The two images you posted earlier have disappeared, so I ma not sure what yo are trying to achieve, I seem to recal you want to colour a row one cell at a time
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.