Paul,
That is exactly what I was looking for. Thank you so much!!
.. on another topic.. I think I remember you helping out with a few old projects of mine about ten years ago on another site called UtterAccess. Does that ring a bell at all?
-Kristian
Thanks Paul. I stepped through it and it is still not recognizing the inserted image.. might you know what this object is so that I can use a simple resize like the example in this latest code... or how I can find it out? When I double click on it, it acts like a picture as the Format picture...
Paul.. I should also followup on the comment regarding the "ClearClipboard" and "SaveDoc" items I posted in the code a few posts ago.. those are references to a public sub I use to do those very things. :]
Paul,
This tidbit of code is working pretty great. Do you know what this import is? I combined it with the code from the other post (which is this one Link) and when I step through it sees "0" inlineshapes. I realize this was in reference to pasting an image and this is not exactly what we are...
Good catch.. yes this is intended for non-OCR scanned PDF documents only. I tested it with other PDF versions with layers and text and it is not good at all for that. For my purposes, I don't use OCR so this is actually a great fit for what I am in need of. Thank you gentlemen for all the help...
Thanks guys. I think this closes out this thread. Paul, this definitely works for this question. Strongm, that post is very robust. I just need a simple resize for the imported image.. but I know we are now discussing this in the original post here Link. Thanks fellas
Kristian
Strongm & Paul,
Sorry.. been over-busy these past few weeks!! Thank you very much for your insight. Due to a lack of coding skills on my end and this just being a side hobby of mine, the way I was looking to make this work (until now that is) is to only import scanned PDF documents. The code I...
Hi everyone.. is there a simple way to paste a picture in a word document that already has inlineshapes and set the size of the width?.. here is the code that I am using to paste but can't figure out how to alter the width of the image being pasted??
Selection.PasteAndFormat...
Well.. I have it working. I will incorporate a File Dialog box into this code to select which file/s to select for the end user, but here is a working rough draft. Any of the higher up thinkers on this forum I would love a little help in case you see anything I could be doing better here...
Can anyone figure out what type of shape/range/object is being created in the below mentioned code? It is meant to convert a SCANNED PDF file by opening it in Word 2013. If I select it (the resulting image) with the mouse I am then able to manually copy & paste it (the image) into the word...
Hey everyone.. sorry to keep beating this dead horse, but what if I used this in my code??..
ActiveDocument.CommandBars.ExecuteMso ("ObjectSaveAsPicture")
I step through the code and it's not pasting, but if I run this command manually either by right clicking the mouse or adding it to the...
Well, I was able to use your recommendation and the code is operational now!.. It opens the PDF and saves it as a word doc now. I am thinking this code can be used in a different way without creating a new document.. can anyone see this process happening above in a different order?? It would be...
Well, I came across these commands and they don't seem to be triggering. I have stepped through the code with no success. Anyone here have any experience using these commands? I can open the PDF via reader in the InternetExplorer but just don't seem to be able to pass these commands to the...
I have made a bit of progress with being able to use this concept via Adobe Reader within the Internet Explorer window. Can anyone help me finesse this a bit please?? I use a time delay procedure hence the WaitSeconds(10) and when this file opens, I can't manually hit ctrl+c and ctrl+a. I have...
Well, I am stumped so I am back with another one. I have manually imported a PDF successfully using the insert -> object function in word, but am not really wanting to go with this method as of the long wait associated and it just doesn't format very nicely. Rather, if I open a PDF, use the...
Good morning,
Before I start a new endeavor in my ongoing VBA project I wanted to see what you guys thought as you all operate at a much higher capacity than I do... I am just looking for any recommendation before proceeding with the below that I came across. It is over a decade old, so just...
I figured out that I wasn't allowing enough time for the page to load. Depending on connection speed and cpu usage the code was getting ahead of the web pages. Any tips on how to make this a bit more solid? I have MacGyver this thing together, but would love to get it a bit more solid. Thanks...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.