Try:
Dim options As String
options = ""
If ChkCoverstory Then options = Label3.Caption
If ChkNews Then options = Label5.Caption & options
If ChkRegulars Then options = Label7.Caption & options
Comments.Text = options & Comments.Text
> hello everyone as iam new to VB i have a small query which iam trying
> to solve.
[quoted text clipped - 28 lines]
>
> Any help is greatly appreciated. Thanks in advance.
Newbee - 23 Feb 2006 20:22 GMT
hi charlie,
Thanks for the reply it works only when i click all the check boxes
when i click only one checkbox then it gives me a runtime error 4 '
Invalid use of null'. any suggestions.