View Single Post
 
Old 10-13-2016, 04:57 PM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2013
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

Ahh. Another thing to try is exchanging the constant for its integer value.
wdPasteBitmap = 4 <-- this is word constant
ppPasteBitmap = 0 <-- This is a powerpoint constant

Using these constants when the code is running in other programs is often problematic. Try
Selection.PasteSpecial DataType:=4

This page tells you the possible datatype integer values
https://msdn.microsoft.com/en-us/lib.../ff197265.aspx
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote