tickboxs populated or not

Bernieg

Board Regular
Joined
Jan 1, 2009
Messages
147
Office Version
  1. 365
Platform
  1. Windows
Hi i am trying to determine if userform tickboxs are populated
but cant get the code right

userform is data_capture_sheet
checkbox = tick1
Textbox = short_shift
Textbox = overtime_hrs
'*********************************
'with named ranges this works
ElseIf Not IsEmpty(Range("sixp_sixa")) And IsEmpty(Range("short_shift")) And Not IsEmpty(Range("overtime")) Then
'***************************************
'Shift input

If data_capture_sheet.tick1 = True And Not IsEmpty(data_capture_sheet.short_shift) And IsEmpty(data_capture_sheet.overtime_hrs) Then
Cells(r, 3) = "6am to"
Cells(r, 4) = "06:00"
Cells(r, 9) = data_capture_sheet.overtime_hrs.Text
Cells(r, 11) = "0:20"

Bernie:confused:
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

Forum statistics

Threads
1,224,514
Messages
6,179,220
Members
452,895
Latest member
BILLING GUY

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