J
James Agostinho
Hello NG,
I just started trying to automat a few things in FrontPage with a macro, but
I can't get it to work
I've been using Excel and Word for awhile and the Macros seem to work
differently there.
I have 8 Checkboxes on a form called frmPreferences.
The checkboxes are called chkMon, chkTue, chkWed... and so on for all the
days of the week
I also have a checkbox called chkEveryDay and if this is checked I would
like all the other checkboxes to automatically fill in
'Code starts here===========================
Sub EveryDay()
If chkEveryDay.Checked = True Then
chkMon.Checked = True
chkTue.Checked = True
chkWed.Checked = True
chkThu.Checked = True
chkFri.Checked = True
chkSat.Checked = True
chkSun.Checked = True
End If
End Sub
'End Code================================
And how do you hook it to the checkbox to run when it's checked
Thanks
James
I just started trying to automat a few things in FrontPage with a macro, but
I can't get it to work
I've been using Excel and Word for awhile and the Macros seem to work
differently there.
I have 8 Checkboxes on a form called frmPreferences.
The checkboxes are called chkMon, chkTue, chkWed... and so on for all the
days of the week
I also have a checkbox called chkEveryDay and if this is checked I would
like all the other checkboxes to automatically fill in
'Code starts here===========================
Sub EveryDay()
If chkEveryDay.Checked = True Then
chkMon.Checked = True
chkTue.Checked = True
chkWed.Checked = True
chkThu.Checked = True
chkFri.Checked = True
chkSat.Checked = True
chkSun.Checked = True
End If
End Sub
'End Code================================
And how do you hook it to the checkbox to run when it's checked
Thanks
James