W
Wim R.M. Dekeyser
Hi,
I am creating UserForms to ease the creation, editing, and checking of
standard documents.
It is likely that the user does not finish creating the document in one
session and therefore, I am passing information from bookmarks in the
document back to the UserForm.
My problem is that there are many bookmarks and I would like to be able to
do something like:
for each bookmark
get the value (text string)
put this in the correct place in the UserForm
next
It doesn't seem possible to do this because e.g. UserForm1.TextBox1.Value =
aBookmark.Range.Text requires the correct Name of the UserForm item. I tried
making the bookmark name identical to the UserForm item name and feeding a
strName instead of TextBox1 but that does not work.
Any tips?
cheers,
wim dekeyser
I am creating UserForms to ease the creation, editing, and checking of
standard documents.
It is likely that the user does not finish creating the document in one
session and therefore, I am passing information from bookmarks in the
document back to the UserForm.
My problem is that there are many bookmarks and I would like to be able to
do something like:
for each bookmark
get the value (text string)
put this in the correct place in the UserForm
next
It doesn't seem possible to do this because e.g. UserForm1.TextBox1.Value =
aBookmark.Range.Text requires the correct Name of the UserForm item. I tried
making the bookmark name identical to the UserForm item name and feeding a
strName instead of TextBox1 but that does not work.
Any tips?
cheers,
wim dekeyser