Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Anpu Massri   on Mar 18 In MS Office Category.

  
Question Answered By: Frank Butler   on Mar 18

I created a userform with a textbox called txtMsg and a Read button
and copied your code  into the click event for the button.
I then created the a.txt file  and tested your code
and it worked fine!!! Peter loves IP "10.11.12.13"
showed in the text  box.

Try entering a longer string like: Peter loves all IP regardless of
location
and try it.
Does it truncate?
Maybe the problem  is with the definition of the textbox on the userform.
Is there a MaxLength value set?

Share: 

 
 
Didn't find what you were looking for? Find more on Read/Write in the text file Or get search suggestion and latest updates.


Tagged: