Results 1 to 3 of 3
  1. #1
    New Lounger
    Join Date
    Oct 2003
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Paste Unformatted (2002 SP2)

    The choices for pasting unformatted text through the Edit | Paste Special command are inconsistent. It can be "text" or "unformatted" or various other choices, and the number of up-arrow or down-arrow movements varies with the type of text in the paste buffer. All the macros I've tried to record trip over this problem.

    Does anyone have a script that pastes unformatted text every time?

    Thanks.

    Ken Shaw

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Paste Unformatted (2002 SP2)

    Doesn't the following instruction do the trick?

    Selection.PasteSpecial DataType:=wdPasteText

  3. #3
    2 Star Lounger
    Join Date
    Jan 2001
    Location
    Glasgow, Scotland
    Posts
    137
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Paste Unformatted (2002 SP2)

    Try this

    Sub PasteUnformatted()

    On Error Resume Next

    Selection.PasteSpecial Link:=False, DataType:=wdPasteText, Placement:= _
    wdInLine, DisplayAsIcon:=False
    End Sub


    Regards

    John

Posting Permissions

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