+ Reply to Thread
Results 1 to 2 of 2

Need to choose range for .pdf email attachment and scale to a single page

  1. #1
    Registered User
    Join Date
    04-30-2021
    Location
    Canada
    MS-Off Ver
    365
    Posts
    12

    Need to choose range for .pdf email attachment and scale to a single page

    Hello,

    I've written some vba code to trigger when an active x button is pressed. Pretty standard e-mail code. It also makes a pdf of the active worksheet and attaches it to the email.
    I would like to restrict the pdf to the range (a1:s49) while also scaling to a single page.

    Please Login or Register  to view this content.
    Any help is greatly appreciated.

    Cheers,
    Last edited by ABourdages; 06-29-2023 at 08:59 PM. Reason: Solved

  2. #2
    Valued Forum Contributor
    Join Date
    03-24-2020
    Location
    Thailand
    MS-Off Ver
    Office 2016
    Posts
    897

    Re: Need to choose range for .pdf email attachment and scale to a single page

    Try inserting the below code before: ChDir "C:\Alexa"


    Please Login or Register  to view this content.
    If your Question is answered; please mark it SOLVED. If you are happy with a member's solution, say 'Thanks' and click the 'Star' to Add Reputation.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 12-15-2018, 08:27 PM
  2. vba to email after modifying a single sheet from wkbk as a PDF attachment
    By dyoung785 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-22-2016, 09:30 PM
  3. Attachment + range of cells via email
    By danjones121 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-07-2015, 06:58 AM
  4. Email single sheet as an attachment
    By JamesT1 in forum Excel General
    Replies: 8
    Last Post: 08-15-2011, 04:54 AM
  5. email single excel page
    By BongoBill in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-29-2009, 02:42 AM
  6. Email a single sheet as attachment ??
    By Matt Stone in forum Excel General
    Replies: 1
    Last Post: 02-18-2005, 10:06 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1