Word VBA >> Paste Button default option

by Michael McKenney » Wed, 04 Aug 2004 23:19:56 GMT

When the paste button is turned on and an item is copied/pasted, the
little paste button pops up. Then I can right click on it and choose an
option. The "default" option is "keep source formating." Is there a
way to make the options always to be set at "match destination formatting"?

I know that an item cut and pasted can easily be changed by clicking the
paste button and then clicking "match destination formatting," but it
would be easier/quicker if somehow I could change the default to "match
destination formatting" and thus eliminate the need to ever have to
click the paste button and then choose the "match destination" button.

Thanks for any help, and I apologize ahead of time if this issue has
already been discussed/answered here.

Mike from Milwaukee


Word VBA >> Paste Button default option

by DA » Thu, 05 Aug 2004 06:45:33 GMT


Hi Michael

I'm not aware of an option setting that can specify your
paste format. You can however intercept the paste event
and specify macro code that pastes in the format you
require.

Insert a new module into Normal.dot and place the
following Sub into it.

--------------
Sub EditPaste()
Selection.PasteAndFormat _
(wdFormatSurroundingFormattingWithEmphasis)
End Sub
--------------

All the best,
Dennis

copied/pasted, the
it and choose an
formating." Is there a
destination formatting"?
by clicking the
formatting," but it
default to "match
ever have to
destination" button.
this issue has



Similar Threads

1. Paste Options button

2. Paste options icon/button thing..

How to remove that button "paste options" that is displayed every time I 
paste from e.g. Excel to Word - I do think I can manage the formatting 
myself...  

-- 
Rgs
Susanne

3. Office 2003: Paste Options button does not appear - Microsoft Office

4. "Show Paste Options button" disable upon Setup of Office 2003

I know you can manually go into Excel 2003 and uncheck this button so that 
the annoying clipboard does not show up when you copy and paste.

However, I am not seeing this option in step 10 of 24 in the Custom 
Installation Wizard.  I am trying to use that to create a custom MST file to 
disable this.  Otherwise, the custom MST file works and I plan to push it out 
via Group Policy in AD.  

Has anyone figured out a way to disable this feature upon setup?  I don't 
want to manually do this for all 500 plus users on each workstation.

Thanks in advance!

5. Paste options button - MS Word Support

6. restore paste options button

Using MS Office Student and Teacher Edition 2003 on a laptop running Windows 
XP Pro SP 2.  

In MS Word, the tools-options-edit is set to show the paste options button.  
However, the paste options button never shows up when I am copying and 
pasting into a MS Word document.  Consequently, the format of what I am 
copying and pasting gets changed to the format of the recipient document, 
which is not what I want at all.  It is also not copying and pasting any 
graphics.  I have tried everything to fix this, have compared all the 
settings on this laptop with my PC, which uses the same version of Office and 
its paste options button is there and the pasting goes as I want it.  That PC 
us running Windows XP Media Center Edition SP 2.

I've run the repair tool for Office on the laptop and it hasn't helped. 

Is there a simple way to fix this?  It is really causing me major headaches!

Thanks! 

7. Show Paste Options Button

8. paste options button won't show up

The paste options button used to appear regularly when I'd paste text to a 
Word document, but now it doesn't.  I've verified in Word Options > Advanced 
> Cut, copy, paste  that the "show paste options button" is checked - but 
still -- no button.  Can anyone shed light on this issue?