export as pdf

  1. E

    Using Export to PDF Issue

    I am at a loss for how to fix this issue I am having. I am sure it is something simple, but I think I have stared at it too long to understand what mistake I am making. As the name indicates, I am new to VBA and learning in order to make my life and my coworkers lives easier. Context: We have a...
  2. A

    Macro with multiple Headers for multiple pages

    Here is the link to file. I the last sheet "Individual Result GT" I want to get a macro that Generates a pdf or print with following properties 1) Row 1 to Row 7 header for all first 10 pages (7 Rows header) a) out of very first these 10 pages I want only pages to be printed/converted to pdf...
  3. A

    Page break issues when exporting to pdf from userform (VBA)

    Current Issue: So far, however, I have (with assistance) created a user form in Excel that collects data and inputs it into a spreadsheet, which can then be exported to a PDF report using a set format/layout on another sheet of the workbook. The layout consists of a "Header" section and an...
  4. P

    Macro button which export range of worksheet to a new file and save as xls or pdf

    Hi, there, Can anyone help me to figure out the macro commands which: 1. Copy the specific range of sheet into a new workbook; 2. Copied workbook will contain the cell values and format only not the strings or formulas. 3. "Save as", so the user can choose the directory and the name of the...
  5. H

    VBA loop through slicer and export multiple sheets to PDF

    I have an excel file containing multiple charts showing sales, demand, etc. in 5 sheets. These charts are linked and filtered by a slicer "Product Name". This slicer is located in sheet "Supplier". I am trying to export these 5 sheets to PDF per product by having the code to loop through...
  6. M

    ExportAsFixedFormat - After Publishing As PDF, The Excel File Freeze For a Long Time

    Hello, I used ExportAsFixedFormat Function to print my 50 tabs as PDF. Right after publishing those tabs as one PDF, the excel file freezes. By the time excel freezes, I already obtain the PDF file so the problem starts AFTER saving it as PDF file. I suspect that the excel calculates the whole...
  7. S

    Excel VBA to Export as a PDF multiple ranges

    Hi, I need to export as a PDF multiple ranges on a single sheet. I would like to export A2:E55, Then G2:to the end of J ??, K2: to end of Q. The range can vary depending on the period I select for the data in the pivot tables. I don't want to have to keep selecting the range and make...
  8. J

    Macro Help!

    Hi I'm trying to create a Macro so from my worksheet by pressing a button it will export it as a PDF, but then save it based on 3 cell Values, C4, C6 & C8. C4 is a name C6 is a name C8 is a date I'm wanting it to save to a specific file location to: C:\Users\Vector\Google Drive\H_O...
  9. M

    Export a range to pdf

    Afternoon I am looking to export a number of ranges to one single PDF but one of the ranges is a variable range. The ranges I want to export are: A1:C12 A13:C26 A27:C38 A42:C72 A73:C95 G161: the last cell with a text in it located in Column K the file name is: thisworkbook.path & “Reports” &...
  10. A

    Macro to SaveAs PDF but alter the name

    Hi all! I am comfortable with excel but diving into Visual Basic has been slow. I'm sorry if this question has been repeated a million times. My searches haven't found a workable answer. We have our client files in excel .. example "M, Amanda Qrtly Rpt.xlsx" in 4 different folders. The...
  11. D

    vba Export Excel to PDF. 2 pages. One Portrait, One landscape.

    Hello, if anyone knows how to do this, I would appreciate a pointer. There are a few threads on it but i havent found one that actually answers the question of how to do it as one PDF with different orientations per page. This is where i am at so far... Sub ExportPDF2() Dim sFile As String...
  12. F

    export file as PDF but with the name as mentioned in cell D27 in sheet "Faktuur"

    The macro currently has the following ActiveWorkbook.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _ "V:\ingrid\Book9.pdf", Quality:=xlQualityStandard, IncludeDocProperties:= _ True, IgnorePrintAreas:=False, OpenAfterPublish:=False I want this to be changed as such that it...
  13. S

    Exporting selected sheets to pdf

    Hi, I have a code which i suppose to print the sheets I have selected to pdf (the list of the sheetnames are in cell A1). But my code only prints blank pages (or the singled marked cells on each sheet). How do I solve this? Here's the code: Sub PrintSelectedSheets() Dim wrLocal...
  14. S

    runtime error 1004 :PDF Export to Onedrive sub-folder

    Hi Experts, I have a problem so far, I tried to export my code to PDF format, the situation is runtime error 1004 what i did so far is that . with this path work just fine Filename:="https://d.docs.live.net/FBC3F27912XYZ123/Homeandcare work/Invoice Record History/" & "61_" & bil_id & "_" &...
  15. D

    VBA code to create PDFs causing Excel to crash immediately without any hang

    Hi, I have a VBA procedure that loops through each file in a directory and does the following: 1. Opens the file 2. Selects 2 sheets 3. Exports those sheets to a PDF Excel is crashing during this process at random. I.e., one time it can crash after 6 PDF files created, and another after 10...
  16. D

    Export sheet collection to pdf

    Greetings, I need some assistance with sheet collections. I have a large spreadsheet that our designers copy onto each job file and use. The first 103 sheets do not get printed or exported to pdf. We only send out the new generated pages. I have written code to select all sheets from sheet #104...
  17. T

    Help with Saving Spreadsheet as PDF using VBA

    Hey y'all, For a work project I am attempting to save a spreadsheet as a pdf in a specific folder but I now that I have figured out how to navigate to that folder (or create it if it doesn't already exist), I keep getting a fail to print error for an undefined object. Due to the nature of my...
  18. D

    Losing Data when saving to PDF from Excel Sheet

    Hello, I have found a VBA script online for exporting data from a spreadsheet into a pre-made PDF document. For my job, we fill in a large number of these form, so this will help a lot. However, whenever I run the script and it produces the PDFs, certain fields are not filled, specifically...
  19. Q

    Build multi-stage macro

    Hey All, I had a macro that I've since lost due to a bad hard drive that was an efficient combination of a couple different macros and need a bit of help rebuilding. What I'm trying to do is: A) Save Sheet1 as pdf (I already have a predetermined print area) B) Check if folder exists - if not...
  20. A

    Exporting all Charts from a worksheet VBA working

    Hi All, I have a great VBA that exports all charts from a workbook and I wanted to change it to do all charts from a worksheet. I thought I could just take out the first loop (For & Next) no such luck see below working code that I wish to modify. Sub ExportAllChartsjpg() Dim ch As Chart...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top