Results 1 to 3 of 3
  1. #1
    3 Star Lounger
    Join Date
    Feb 2001
    Location
    Portland, Maine, USA
    Posts
    296
    Thanks
    0
    Thanked 0 Times in 0 Posts

    No Copy/Paste (Word 2002/SP2)

    I have a document that I can open then copy/paste from it. When I open the document using VBA, I can not copy and paste from it - either in code or using the Word interface. I can select all and access the copy command, but nothing gets copied.

  2. #2
    Super Moderator
    Join Date
    Jan 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    3,852
    Thanks
    4
    Thanked 259 Times in 239 Posts

    Re: No Copy/Paste (Word 2002/SP2)

    Is the document protected in some way?

    If you open the file with VBA and do the copy manually, can you delete the selection and do a paste back into the same file?

    There has been a problem discussed here where the clipboard is cleared when opening Word. This is caused by third party add-ins such as Acrobat using the clipboard to make sure their toolbar buttons are shown. Could this be affecting your code?
    Andrew Lockton, Chrysalis Design, Melbourne Australia

  3. #3
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: No Copy/Paste (Word 2002/SP2)

    What is your code to open the document? Simply

    Documents.Open filename:="C:document1.doc"

    or something fancy?

Posting Permissions

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