I have an excel sheet with too many columns, so when I save it as a PDF the file its in too many pages and its not easy to read . I need to save the sheet as pdf but before I want to change its orientation to horizontal so I can read the pdf with no problem. Is the same you can do when you print but I want it when I save an excel file as pdf.
Is there any option I can choose?
I dont mind if someone gives me a code for a macro using my selection as an object.
Under the "Page Layout" tab, click the "Orientation" option and then select "Landscape."
Then create your PDF as usual.
You can save Excel files in PDF, even without using Excel. I use a program Universal Document Converter (http://www.print-driver.com/how-to/save-excel-as-pdf). This program allows you to quickly and easily create print-ready PDF-files on the basis of the original spreadsheets Excel.
Related
I need to save a screenshot to an independent .jpg file, in the MS Word environment.
I can't save to a chart and export the chart (chart function not available in Word, only Excel).
I can't save as HTML and go into the created directory (only creates PNG files and can't use).
I can't use any function that utilizes Option Explicit (this messes other variables in my userforms).
It would be awesome if I could copy the "save as picture" function when right clicking an image in a word document in a VBA Macro.
I have 1700 PDF datasheets that contain a set of text and image boxes. The underlying template of each datasheet is the same, but the contents of the boxes vary. I'd like to find a program that lets me take the modified text box contents (summarized in an excel table) and repopulate the original sheets.
I have extracted the information from the text boxes using the "Merge Data files into an excel file" under the Prepare Form tool in Adobe DC and have used a variety of =Substitute functions in excel to change the contents of the text boxes to what I want. What I would like to do now is use a program to go back to the original .PDF and overwrite the original fields. I would just run a mail merge on this normally, but I don't have access to the images anymore so the image boxes would be blank.
Alternatively I've considered using something like Pulover Macro Creator to step through the excel list and paste in the contents into every sheet, but I'm hoping that there's an existing piece of software to do this.
i am trying to do something a bit difficult (for me) here. So i have a PDF with over a 100 pages and an excel sheet with all the corresponding names of each page.
So what i want is a way to split the PDF into individual PDFs and rename them according to the excel sheet.
Thanks in advance.
Do you have Acrobat?
There is a function to split PDFs by pages, book marks etc in there. I am sure other PDF editing software has a similar feature.
You can then write a VBA script or similar to read the Excel and rename the files, if you are comfortable with code: How to rename multiple pdf files used excel database vba
Or you could try a file name changing software, something like http://www.bulkrenameutility.co.uk/Main_Intro.php
I am trying to open a .pdf file within Excel like an iframe in HTML.
My requirement is:
Save the path of multiple PDF files in Excel.
Excel should open each .pdf file within Excel itself (no need to open that in a separate .pdf window).
It should be like iframe in HTML. The user should be able
to view the .pdf within Excel itself.
I know this is little weird, but can anybody help me?
you could probably get the filenames via vba.
here's some that claim to work:
Loop through files in a folder using VBA?
So far as opening a pdf in excel - thats kinda pushing it.
Since your request is exotic I can think of an exotic workaround:
If you can spare the interactivity you can simply make copies and convert your pdfs to word formats to work with them and load them in that way. I've seen people convert pdfs to Jpgs just to load them in some other documents but thats rudimentary and really fringe.
Otherwise you are facing a lot of custom coding that needs to make it possible.
I have a word doc with some ActiveX buttons on it. When one of these buttons is pressed, a UserForm pops up with a corresponding PDF displayed, like so:
This is exactly the behavior I want. However, the problem is that for this to work, the user of the word doc needs to have each of the PDFs saved on their machine as well. Here's the code for one of the buttons:
Private Sub AC1Button_Click()
DisplayForm.AcroPDF1.LoadFile ("C:\Users\arose\Desktop\Security Control Doc\Sub PDFs\AC1.pdf")
DisplayForm.Show
End Sub
As you can see, the path is hardcoded in. I need to be able to distribute this word doc without needing to distribute a bunch of PDFs along with it, so is there any way to embed PDFs in a word document in such a way that they're accessible by VBA?
I've discovered here that it's reasonably easy to embed a PDF in any office doc. And I've tried that:
But I can't figure out how to access that PDF object in my VBA code, in order to display it on the UserForm.
Any insight is appreciated, thanks!
Embed the files (and display as icon to stop them taking over your document)
To activate the first OLE object in your document,
ThisDocument.InlineShapes(1).OLEFormat.Activate
is the command.