Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.newusers
Herb Tyson [MVP] Herb Tyson [MVP] is offline
external usenet poster
 
Posts: 2,936
Default Word 2007 Short-Cut Question

I'm glad it worked. It took a bit of detective work to figure out, since the
macro recorder recorded paste special as PasteAndFormat, instead.

--
Herb Tyson MS MVP
Author of the Word 2007 Bible
Blog: http://word2007bible.herbtyson.com
Web: http://www.herbtyson.com


"WSR" wrote in message
...
Thanks Herb & PamC

Using the following VB allows me to Paste/Special/Picture (Enhanced
Metafile)


Sub PasteSpecialPicture()
'
' PasteSpecialPicture Macro
'
'
Selection.PasteSpecial DataType:=9
End Sub


"Herb Tyson [MVP]" wrote in message
...
Try this line:

Selection.PasteSpecial DataType:=9

--
Herb Tyson MS MVP
Author of the Word 2007 Bible
Blog: http://word2007bible.herbtyson.com
Web: http://www.herbtyson.com


"WSR" wrote in message
...
What I want to do is cut from another application and paste special as a
picture (enhanced metafile) format.

When I record the macro as you describe, the cut some cells from an
Excel file the result in the Word file is a table, not a picture.

Any ideas with my macro?

Here's the VB

Sub PasteSpecialPicture()
'
' PasteSpecialPicture Macro
'
'
Selection.PasteSpecial (wdPasteEnhancedMetafile)
End Sub


Thanks 8^


"PamC via OfficeKB.com" u43222@uwe wrote in message
news:88eb70a316bcc@uwe...
First copy an image. Then turn on the macro recorder, and go to it.
You need
to record the steps for pasting an image that is already in memory (the
clipboard).

PamC

WSR wrote:
My question regarding the macro is how do I make it "generic" so that
it's
pasting what ever object I cut?

When I try to record the macro from a blank sheet, the paste button is
greyed out.

What I don't what the macro to do is Paste Special / Picture the same
object
over and over again.

I want it to Paste Special the last object on the clipboard.

If this makes any sense.

Have you tested that method?

[quoted text clipped - 7 lines]

Any guidance/assistance is appreciated

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...neral/200808/1







Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
2007 Word-short-cuts Benita Microsoft Word Help 1 April 2nd 08 01:58 AM
Word 2007 How to put a short cut on the quick access toolbar JERRY[_2_] New Users 2 August 4th 07 08:13 PM
Short cut key for auto correct on Word 2007 twylags New Users 2 June 28th 07 02:09 PM
Word 2007 trashes keyboard short-cuts Figbash Microsoft Word Help 6 June 5th 06 06:18 AM
Question on a short cut for hyphenated words mariannajoleeni New Users 1 August 24th 05 08:31 AM


All times are GMT +1. The time now is 04:52 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"