J
Jing You
hi, everyone
I am trying copy something from a hidden document to an opened document.
But I got nothing.
My code opening a hidden document like this:
'------------------------------------------------
Documents.Open FileName:=FileName, ConfirmConversions:=False, ReadOnly:=
_
False, AddToRecentFiles:=False, PasswordDocument:="",
PasswordTemplate:= _
"", Revert:=False, WritePasswordDocument:="",
WritePasswordTemplate:="", _
Format:=wdOpenFormatAuto, XMLTransform:="", Visible:=False
afther the code, I do the copy operation like this:
Selection.WholeStory
Selection.Copy
But nothing was copied to clipboard. How can I get the correct way?
Regards,
Jing You
I am trying copy something from a hidden document to an opened document.
But I got nothing.
My code opening a hidden document like this:
'------------------------------------------------
Documents.Open FileName:=FileName, ConfirmConversions:=False, ReadOnly:=
_
False, AddToRecentFiles:=False, PasswordDocument:="",
PasswordTemplate:= _
"", Revert:=False, WritePasswordDocument:="",
WritePasswordTemplate:="", _
Format:=wdOpenFormatAuto, XMLTransform:="", Visible:=False
afther the code, I do the copy operation like this:
Selection.WholeStory
Selection.Copy
But nothing was copied to clipboard. How can I get the correct way?
Regards,
Jing You