Results 1 to 3 of 3

Thread: [RESOLVED] read text and save as string?

  1. #1

    Thread Starter
    Member
    Join Date
    Apr 2006
    Posts
    34

    Resolved [RESOLVED] read text and save as string?

    I wonder if it 's possible to read a line of text in word- say a selection - and then save it in a variable of type string!

  2. #2
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390

    Re: read text and save as string?

    VB Code:
    1. Dim TMP As String
    2. TMP = Selection.Text
    3. MsgBox TMP
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

  3. #3

    Thread Starter
    Member
    Join Date
    Apr 2006
    Posts
    34

    Re: read text and save as string?

    that's all
    thank you static,

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width