savereport

  1. V

    Macro

    I have a simple macro on an excel sheet where at the click of a button, it changes the page into a pdf. Currently, the path is as such: Sub savereport() ' ' savereport Macro ' Sheets("Print Preview").Select ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _...
  2. J

    sub is getting ignored from call subs

    Sub savereport() Application.DisplayAlerts = False Application.ScreenUpdating = False ChDrive Left(ActiveWorkbook.Path, 2) ChDir ActiveWorkbook.Path SaveAsName = Application.GetSaveAsFilename(FileFilter:="Excel Files (*.xlsx), *.xlsx") If SaveAsName <> False Then...
  3. P

    VBA Loops with If,Then and Else Commands

    Good Evening All, Im trying to write some vba where i have to generate up to 30 reports from my spreadsheet But sometimes the value in Cell C5 is 0 and i dont want a report generating for that the SaveReport Macro basically saves the report as a pdf My VBA Code is as follows For A = 1 To 30...

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