A
Alex Trueman
I have two questions regarding the PasteSpecial method:
1.) I would like to paste the contents of the clipboard as a "Picture (Windows
Metafile)" to the active cell of a table in Word using VB. The code below is
straight out of the VB help examples. It works if the selection is not inside a
table but if the selection is inside a table it does not work. If I record the
actions of paste special to a cell the code generated uses PasteAndFormat, but
this does not allow me to specify "Picture (Windows Metafile)". What is the
solution?
Selection.Collapse Direction:=wdCollapseStart
Selection.Range.PasteSpecial datatype:=wdPasteMetafilePicture
2.) To reduce Word document file size I have always pasted graphics (charts,
etc.) as "Picture (Windows Metafile)" rather than "Picture (Enhanced Metafile)"
believing that the former is smaller in size than the latter. Is this true?
Thanks
Alex
1.) I would like to paste the contents of the clipboard as a "Picture (Windows
Metafile)" to the active cell of a table in Word using VB. The code below is
straight out of the VB help examples. It works if the selection is not inside a
table but if the selection is inside a table it does not work. If I record the
actions of paste special to a cell the code generated uses PasteAndFormat, but
this does not allow me to specify "Picture (Windows Metafile)". What is the
solution?
Selection.Collapse Direction:=wdCollapseStart
Selection.Range.PasteSpecial datatype:=wdPasteMetafilePicture
2.) To reduce Word document file size I have always pasted graphics (charts,
etc.) as "Picture (Windows Metafile)" rather than "Picture (Enhanced Metafile)"
believing that the former is smaller in size than the latter. Is this true?
Thanks
Alex