L
LisaM
Hello,
I've created a User Form to create content for a letter. This is the first
time I've ever used VB - I'm a complete Newbie - and I've had a lot of help
using an article I found online.
I have included toggle buttons in the form and what I would like them to do
is insert text into the letter when they're selected, but if they're not
selected, then the space where the bookmark is in the letter remains blank.
This is the segment of code that concerned the toggle button and what the
bookmark was supposed to fill in with:
If togPartAwardsText.Value = True Then
.Bookmarks("PartAwardsText").Range.Text = "Accepted components of your
Offer include"
End If
Needless to say, this doesn't work and any help would be greatly appreciated.
Thank you.
I've created a User Form to create content for a letter. This is the first
time I've ever used VB - I'm a complete Newbie - and I've had a lot of help
using an article I found online.
I have included toggle buttons in the form and what I would like them to do
is insert text into the letter when they're selected, but if they're not
selected, then the space where the bookmark is in the letter remains blank.
This is the segment of code that concerned the toggle button and what the
bookmark was supposed to fill in with:
If togPartAwardsText.Value = True Then
.Bookmarks("PartAwardsText").Range.Text = "Accepted components of your
Offer include"
End If
Needless to say, this doesn't work and any help would be greatly appreciated.
Thank you.