?
Solved

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

Posted on 2003-11-30
6
Medium Priority
?
468 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 500 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses
Course of the Month10 days, 2 hours left to enroll

762 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