save as pdf

  1. N

    Excel macro de export all emails to pdf

    I am having a bit of an issue, since I made a query to bing chat and I received some code that runs, but creates an unreadable pdf. I need a macro that saves all emails in either inbox or sent to a pdf, with the following parameters: From, to, subject, date and time in which it was received and...
  2. D

    Excel Macro for Save as PDF (to a share point folder)

    Hi, I am very new to macros and would like to know how I can do the following. I have a single sheet in an excel workbook and I want a button which will: 1.save the sheet (an array of cells) as a PDF (landscape) in a particular work sharepoint folder 2. The pdf file name should be whatever is in...
  3. H

    Save Sheet as PDF and Email

    Hello, Ultimately, I am trying to have my excel sheet saved as a PDF and then emailed. I have figured out a way to do that, however once I started tweaking it, I realized I am way out of my league. I need to also be able to: (1) save the file as the value in cell A40 of the current sheet...
  4. M

    pdf of ws not saving - error

    Hello all. I am trying to save one worksheet from a workbook of many sheets as a pdf to a different destination. I found a code in this forum that works according to the thread. I will post it here: Dim Path As String Dim SaveAsStr As String Path = Sheets("Combined...
  5. Jyggalag

    Make excel macro refer to other sheet than itself

    Hi all, I currently have this code, which saves my sheet (entitled "Sheet3") as a PDF: Option Explicit Sub SaveFileWithMacro() Dim Path As String Dim fn As String Path = "S:\Path\PDF files\" fn = Range("A63") ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:=Path & fn & ".pdf" End...
  6. Jyggalag

    Save excel sheet as PDF (only one sheet)

    Hi all, I currently have a macro that converts my excel sheet into a PDF and saves it in a designated folder. However, I only want it to save the first sheet as a PDF, and ignore my other sheets, which it will not do at the moment. My code looks as follows: Option Explicit Sub...
  7. Jyggalag

    Macro to save file as PDF saves full sheet

    Hi all, I have this overview at the moment: If I manually choose to save my file as a PDF, it works fine and I get just 1 page with the overview above. However, I have the following VBA code to save my file as a PDF: Option Explicit Sub SaveFileWithMacro() Dim Path As String Dim fn As...
  8. J

    Copy 5 rows from one sheet and paste in another sheets based and save as PDF based on condition

    I have data in Sheet1 in Column A & B, I want 5 Rows from Sheet 1 to copy into Sheet 2. For example I want the data from Sheet 1 A1:A5 to copy into Sheet 2 A8 to A12 and B1:B6 to copy into C8 to C12 of Sheet 2 and save the page as PDF in desktop then continue the process till last row of...
  9. D

    Need help with looping through a list and saving each to unique PDF file

    I think I am close on this, but it is not quite working as intended. The first version of this VBA was originally created to loop through a list on the "CertData" sheet and print the output as a defined range on sheet "Certificate". This worked perfectly, but I would rather have it loop...
  10. Jyggalag

    Save file as PDF in VBA (macro)?

    Hi all, I currently have the following setup: I have marked everything that I want to be exported into a PDF, which works when I manually save the file as a PDF. However, I do also have a macro ("Save file to folder") as seen above, which saves the file (albeit as an Excel file) to my...
  11. J

    Excel save as PDF only if matches criteria

    'This method Saves each of the worksheets of current 'Excel file as individual PDF File using Excel VBA Sub SaveEachSheetAsPDFFileED() Dim wsA As Worksheet Dim wbA As Workbook Dim WS_Count As Long Dim strFile, myfile As String Set wbA = ActiveWorkbook...
  12. S

    Save as PDF Button

    Hi all, I would like to make a button on each sheet of a workbook which will save the sheet (excluding the button) as a PDF to the desktop. Each sheets starts off as a blank sheet, the blank sheet is copied and data entered, sheet renamed as needed. The data on each sheet will be reviewed...
  13. J

    Auto save as pdf by having file name as sheet name in Excel VBA Macro

    I have 27 sheets in an Excel file and file name is blank.xlsm. Except the sheet name COUNT and RAW DATA, I want that all other sheets to be save as PDF in the address C:\Users\jyotirmaya\Desktop\Macro by using file name as Sheet name, all other 25 sheets have unique names. I have data from...
  14. K

    Help with VBA to Save as PDF

    I want to save certain sheets as a PDF file with a specific path, have a default file name with the option to edit the file name which also opens the PDF file. Seems to work with desired path and option to change default file name, but the PDF file is never saved and the code continues to the...
  15. J

    SAVE as PDF has a glitch {pulling hair out}

    I am running an excel macro that saves it as a PDF. I want it to pop up with a default file name and ask the user if they want to overwrite it. If they say yes, then overwrite, but if they say no, then they should be prompted to change the file name. It does this, but if the user selects save...
  16. zakasnak

    VBA error 1004 Formula is missing a range or a defined name

    Good Morning! I have vba that purges data for public posting, then saves each tab (named range) as a separate pdf to combine & post to the web. I'm getting a Run-time error '1004' "This formula is missing a range or a defined name" on Named Range(Table_7), on Tab "Table 7", when trying to save...
  17. V

    An Excel VBA file which able to open .dotm change it and save as an pdf for e-mail. Possible??

    Hi everyone I am trying to make a excel file with vba codes. Plan is that file save datas, choose information daily, open an existed word object (.dotm) change bookmarks I create and save it. All is fine till save as a .pdf and send e-mail via outlook app. I already do this in excel with active...
  18. R

    macro to generate 290 pdf files based on changing cell value

    Hi, I would like to create a macro which does the following: 1) Write a string in cell J16 in "worksheet1". The first string is taken from cell B2 in "Worksheet2". Step 1-3 should be repeated for the range B2-B292 in "Worksheet2" (290 times) 2) The string in cell J16 is used by other cells in...
  19. P

    save word doc as pdf from excel

    Hi All, i'm not having much luck with vba for word so i'm trying a work around. is there a way to save a copy of a word document AS a pdf with the name being a cell value in excel? let me give you my exact example. I have an excel with a few command buttons, one command button opens a...
  20. P

    macro to save as pdf with name from bookmark

    hi all, i'm trying to create a command button in word and attach a macro that automatically saves the doc as a pdf to a specified folder with file with the name coming from 2 bookmark references with a space and dash in between name. here is what i have so far: Private Sub...

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