Solved

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

Posted on 2003-11-30
6
456 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
  • 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

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 …
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

708 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now