Solved

Pasting a picture from clipboard to word document in paste special format using vb

Posted on 2003-11-30
6
462 Views
Last Modified: 2012-06-21
i have copied a bmp file into the clip board and want to paste that special in a word document to reduce the size of the document. As such i am able to paste the bmp file. Iwant to use the pastespecial option in MS-Word in VB
cAN ANY ONE HELP ..................
0
Comment
Question by:srivat_ta_bits
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
6 Comments
 
LVL 26

Accepted Solution

by:
EDDYKT earned 125 total points
ID: 9849870
?


Selection.PasteSpecial Link:=False, DataType:=wdPasteBitmap, Placement:= _
        wdFloatOverText, DisplayAsIcon:=False

0
 

Author Comment

by:srivat_ta_bits
ID: 9879859
Hey thanks man..
That was great use...
Infact i wanted to reduce the memory after pasting.. because i was able to paste it into document as bit map but the memory occupied was more.. so i had to word an image compression logic..
but now using datatype as wdpastebitmap the size of the document is reduced greatly...
And soon i will also come up with image compression logic...
thanku
srivats
0
 

Author Comment

by:srivat_ta_bits
ID: 10162836
Hey thanks man..
That was great use...
Infact i wanted to reduce the memory after pasting.. because i was able to paste it into document as bit map but the memory occupied was more.. so i had to word an image compression logic..
but now using datatype as wdpastebitmap the size of the document is reduced greatly...
And soon i will also come up with image compression logic...
thanku
srivats
0
 
LVL 29

Expert Comment

by:leonstryker
ID: 10166622
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Answered EDDYKT
 
Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

leonstryker
EE Cleanup Volunteer
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question