I don't see that the code would 'create' errors. Of course, if you have an empty or invalid cboName.Value, that's what will be output at the Bookmark "Name". For the same reason, because the Select Case statement only tests valid values, you could end up with an invalid output for the Bookmark "ID". That could be prevented by adding:
Case Else: StrOut = ""
PS: Please don't automatically quote the entire posts being replied to. If there's something in a reply you need to reference, quote just that portion.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|