Too many line continuations

techstyle20

New Member
Joined
May 14, 2012
Messages
40
Good Morning,

I was wondering whether anyone could tell me how to add more "Or" statments to the following?

I get the message "Too many line continuations". Is there a more elegant way of testing each of the cells without having to include a new row for each?

Thanks guys,

T.

'Please Selects
If Worksheets("Additional Conditions").Range("F8") <> "- Please Select -" _
Or Worksheets("Additional Conditions").Range("F11") <> "- Please Select -" _
Or Worksheets("Additional Conditions").Range("F14") <> "- Please Select -" _
Or Worksheets("Additional Conditions").Range("F17") <> "- Please Select -" _
Or Worksheets("Additional Conditions").Range("F20") <> "- Please Select -" _
Or Worksheets("Additional Conditions").Range("F43") <> "- Please Select -" _
Or Worksheets("Additional Conditions").Range("F46") <> "- Please Select -" _
Or Worksheets("Additional Conditions").Range("F49") <> "- Please Select -" _
Or Worksheets("Additional Conditions").Range("F52") <> "- Please Select -" _
Or Worksheets("Additional Conditions").Range("F55") <> "- Please Select -" _
Then
Worksheets("Offer Letter Instruction Sheet").Range("P15") = "Additional Conditions"
Else
Worksheets("Offer Letter Instruction Sheet").Range("P15") = ""
End If
 

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