VBA to Save Excel Sheet as PDF - Macro to save sheet\s as PDF

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ธ.ค. 2024

ความคิดเห็น • 46

  • @rosatic1
    @rosatic1 3 ปีที่แล้ว +1

    Thanks so much. I was not able to change folders to desktop or anywhere else but I can live with that :)

  • @sushiv1274
    @sushiv1274 3 ปีที่แล้ว +2

    Very nice tutorial. I did some modifications to this to select any file using open dialog and convert it to PDF

  • @selvan1264
    @selvan1264 2 ปีที่แล้ว +1

    Thank you for the excellent video. : ) May I check how to save as encrypted pdf with password and restrict editing? Thank you

  • @larrybeach2894
    @larrybeach2894 ปีที่แล้ว

    is it possible to just open that info from the Excel in a PDF file and then if I want save it to desktop?

  • @rl7233
    @rl7233 9 หลายเดือนก่อน

    Hi, Can you safe the pdf as it were printed as in Microsoft Edge?

  • @markalarkk7784
    @markalarkk7784 4 ปีที่แล้ว +1

    You’re amazing! Thank you!

  • @sachin0200
    @sachin0200 4 ปีที่แล้ว +1

    sir, that vba code will work on office 2010? kindly reply

    • @ExcelDestination
      @ExcelDestination  4 ปีที่แล้ว

      Yes it will

    • @sachin0200
      @sachin0200 4 ปีที่แล้ว

      @@ExcelDestination but not working for me ..am using office 2010 ...what can I do.. kindly reply sir

  • @shahzadisrani2616
    @shahzadisrani2616 3 ปีที่แล้ว +1

    Good Sharing Sir
    I am making 6 Sheets to PDF on a single button but 2 Sheets are on Pivot Table & 1 Sheet is daily data Sheet & 3 Sheets are on fixed range so whenever I make PDF 1st I have to change range of 3 Sheets then I convert in VBA.
    Can you suggest me If my rows will increase so how can I set auto range on VBA for Pivot Table and as well as Simple Daily data Sheet (Without Pivot Table).
    Then it automatically change range of ROWS
    Thanks

  • @rajatsharma2652
    @rajatsharma2652 5 ปีที่แล้ว +1

    Thank you great video

  • @muzikbooster2237
    @muzikbooster2237 5 ปีที่แล้ว +1

    What if I want to save a specific cell as pdf and I want to set its location to the current excel file location. How?

    • @ExcelDestination
      @ExcelDestination  5 ปีที่แล้ว

      It would require different VBA Code, but it is very much possible.

    • @muzikbooster2237
      @muzikbooster2237 5 ปีที่แล้ว

      @@ExcelDestination Can you help me with that?

    • @ExcelDestination
      @ExcelDestination  5 ปีที่แล้ว +1

      Can you send me your excel file and specify cell also, you want to save as pdf..........my email address is EXCELDESTINATION@GMAIL.COM

  • @AliKhan-gl8nv
    @AliKhan-gl8nv 2 ปีที่แล้ว

    Does not work if the sheet contains more than 1 page in the print area... please help with this issue.

  • @sumanpaul1948
    @sumanpaul1948 4 ปีที่แล้ว +1

    but if I save same file then I want to rename automatically.... is it possible???

    • @ExcelDestination
      @ExcelDestination  4 ปีที่แล้ว

      Yes it is very much possible.

    • @sumanpaul1948
      @sumanpaul1948 4 ปีที่แล้ว

      @@ExcelDestination can you share the code for below file path: [[ActiveSheet.Range("A1:O102").ExportAsFixedFormat xlTypePDF, FileName:="C:\Levi's Recipe\" & ActiveSheet.Range("P1").Value, openafterpublish:=True]]

  • @kumarm7083
    @kumarm7083 4 ปีที่แล้ว +1

    how to write a VBA script for more than one excel file convert to PDF?

  • @mehulmehta9382
    @mehulmehta9382 3 ปีที่แล้ว +1

    How to dwnld ur vba code

  • @ravikhande1546
    @ravikhande1546 4 ปีที่แล้ว +1

    Can we make PDF uneditable ...???

  • @alpserbetli6219
    @alpserbetli6219 3 ปีที่แล้ว

    how can I send all the pdf I saved in a path via IBM notes mail

  • @shabarilucky5
    @shabarilucky5 5 ปีที่แล้ว

    Hi Sir , can you teach us a vba on sampling selection for auditing purposes.

  • @keynesxu8990
    @keynesxu8990 5 ปีที่แล้ว +1

    how to save all tabs in one pdf?

    • @ExcelDestination
      @ExcelDestination  5 ปีที่แล้ว

      there would be additional code required. If you need VBA Help, you can send me email at exceldestination@gmail.com

    • @sankarmondal89
      @sankarmondal89 3 ปีที่แล้ว

      I'm sorry same question again. Can you please upload a Google drive link for that additional code? So that everyone can see that. Thanks in advance

  • @farishassn9160
    @farishassn9160 4 ปีที่แล้ว +1

    please ......can add header to pdf

    • @ExcelDestination
      @ExcelDestination  4 ปีที่แล้ว

      yes we can add header I would suggest to add header in excel itself and print as pdf.

  • @ronakgujarathi
    @ronakgujarathi 4 ปีที่แล้ว +1

    Getting runtime error 5 while playing Macro

    • @ExcelDestination
      @ExcelDestination  4 ปีที่แล้ว

      Pls check your code again. If it doesn't get fixed, send me your file at exceldestination@gmail.com

  • @anhnhatnguyet4628
    @anhnhatnguyet4628 3 ปีที่แล้ว

    My excel file has 1 sheet, including 2 pages. I need you to support vba code to create 2 PDF files, each page is a PDF file, save the resulting file in
    In addition, there are other similar cases such as:
    1/ All sheets
    2/ Select any number of Sheets
    Have a nice day

  • @sankarmondal89
    @sankarmondal89 3 ปีที่แล้ว +3

    Good but how to save all the sheets in a single PDF file?

  • @sukeshaysheety
    @sukeshaysheety 8 หลายเดือนก่อน

    HOW TO PASSWORD PROTACTE

  • @riccardosimo94
    @riccardosimo94 2 ปีที่แล้ว

    Can you please put the code here in the comment? :(

  • @ranjithmohan1216
    @ranjithmohan1216 5 ปีที่แล้ว

    How to save without sheet 1

    • @ExcelDestination
      @ExcelDestination  5 ปีที่แล้ว +1

      use if condition......like if activesheet.name"sheet1" then......

    • @ranjithmohan1216
      @ranjithmohan1216 5 ปีที่แล้ว

      @@ExcelDestination I want to ignore sheet 1 from PDF savings only Jan Feb should be printed

  • @pankusati
    @pankusati 4 ปีที่แล้ว +1

    I want to save multiple sheets into one PDF using command button. Please send VBA code.