stevensanderson,
@stevensanderson@mstdn.social avatar

This VBA macro saves an Excel worksheet as a PDF. It sets and sorts the data, creates a temporary sheet with headers, formats and aligns the data, and adjusts column widths. The macro defines the PDF path, deletes any existing file, sets page orientation and footer, exports the sheet to PDF, deletes the temporary sheet, and shows a message with the PDF path. Modify to your needs if you find it useful.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Excel
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • megavids
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • provamag3
  • JUstTest
  • All magazines