comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Workbench - copy and past to Word
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Workbench - copy and past to Word [message #62682] Thu, 25 September 2008 13:22 Go to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
> I recently went through the same exercise for another non-IDL copy-and-
> paste to word problem. I don't think it is an IDL or workbench issue,
> but a windows/word thing. You can configure word to always match the
> source or destination formatting when you paste. In word 2007, it is
> in the word options->advanced settings dialog. Since 95% of the time
> I just want to copy the text, not the formatting, I was so glad to
> find this...
>
> Mike

Thanks Mike...
if others wonder, in Word 2003, I had to be a bit more tricky:
in normal.dot, create a macro with the following procedure:

Sub EditPaste_noFormat()
On Error Resume Next
Selection.PasteSpecial DataType:=wdPasteText
End Sub

Then put an icon on the toolbar that links to it, and assign the key
ALT+V (unassigned) to it... so you are not loosing the formated paste!

Alternatively, if you call the function "EditPaste()", then doing
"paste" or "CRTL+V" will paste without formating... and you must go
through "special paste" to keep the formating!

Jean
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDLWAVE "Expanding path..."
Next Topic: IDLgrText: x/yrange of other than first string?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 10:15:20 PDT 2025

Total time taken to generate the page: 1.44139 seconds