copy, open named doc and then paste etc

J

Johnnyboy5

Hi

I have a open document with a macro to copy a particular section,
what I would like to then do is for the macro to open another named
document and paste that selection in it, then to “shift” “control”
“F9” that pasted section.

Sub Macro2()
'
' Macro2 Macro
' Macro recorded 04/09/2010 by john
'
Selection.MoveDown Unit:=wdLine, Count:=123
Selection.MoveLeft Unit:=wdCharacter, Count:=6
Selection.MoveDown Unit:=wdLine, Count:=75, Extend:=wdExtend
Selection.Copy
End Sub


Any ideas

Thanks
 
S

Suzanne S. Barnhill

One thought: instead of pasting and then unlinking, why not just paste as
unformatted text to begin with?

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

Hi

I have a open document with a macro to copy a particular section,
what I would like to then do is for the macro to open another named
document and paste that selection in it, then to “shift” “control”
“F9” that pasted section.

Sub Macro2()
'
' Macro2 Macro
' Macro recorded 04/09/2010 by john
'
Selection.MoveDown Unit:=wdLine, Count:=123
Selection.MoveLeft Unit:=wdCharacter, Count:=6
Selection.MoveDown Unit:=wdLine, Count:=75, Extend:=wdExtend
Selection.Copy
End Sub


Any ideas

Thanks
 
J

Johnnyboy5

One thought: instead of pasting and then unlinking, why not just paste as
unformatted text to begin with?

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USAhttp://word.mvps.org


Hi

I have a open document with a macro to copy a particular section,
what I would like to then do is for the macro to open another named
document and paste that selection in it,  then to “shift” “control”
“F9”  that pasted section.

Sub Macro2()
'
' Macro2 Macro
' Macro recorded 04/09/2010 by john
'
    Selection.MoveDown Unit:=wdLine, Count:=123
    Selection.MoveLeft Unit:=wdCharacter, Count:=6
    Selection.MoveDown Unit:=wdLine, Count:=75, Extend:=wdExtend
    Selection.Copy
End Sub

Any ideas

Thanks

Hi

coz the text is linked to a form with lots of fields and other "ref"
links to a table etc... its a bit messy but I something I use everyday
for my job,

I have sorted it out now...

thanks for your thoughts though.

Johnny
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top