-
"By the way fText is a text box. So when I set
fText = fileStr I am setting the Text or Value for Textbox named fText to the
string named fileStr.
Oh really? Your code sure does NOT look like that.
There is no Set instruction. There is no declaration of ftext being an object. If it was an object (a textbox) then I suggest you follow standard namaing convention - especially as you do not seem to be declaring things.
objTextbox would indicate to me it is an object.
ftext looks like a string variable.
IF ftext is a textbox (and I remain unconvinced it is) then:[vba]
tempDoc.Range.Text = ftext
[/vba] may fail.
Please answer:
1. are you in fact using Option Explicit
2. what KIND of textbox is this?????
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules