+ Reply to Thread
Results 1 to 10 of 10

Need Guidance and Alteration on My Own Workbook - Creating PDF and Mail

  1. #1
    Forum Contributor
    Join Date
    08-28-2012
    Location
    Klang, Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    113

    Need Guidance and Alteration on My Own Workbook - Creating PDF and Mail

    Hi All
    I found 1 website with great code and guidance. Just that, it is too complicated and i do not know what i should i do 1st to my own workbook.
    After downloading the sample workbook, i found that, there is "functionsModule"'s Modules and the code that i wanted to use is "CreatePDFMail".

    I had attached my workbook name "Screening.xlsm" and Sample of workbook from MSDS name "PDF-Example".

    What should i do on my workbook "Screening.xlsm"? Do i need to write down things like the sample workbook on, "Microsoft Excel Objects"> Info(Info)? Before proceeding with VBA Code?
    Attached Files Attached Files

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Need Guidance and Alteration on My Own Workbook - Creating PDF and Mail

    Hi cychua

    Do you wish to email the entire workbook?
    Where will the Email address be stored?
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Forum Contributor
    Join Date
    08-28-2012
    Location
    Klang, Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    113

    Re: Need Guidance and Alteration on My Own Workbook - Creating PDF and Mail

    I wish to create pdf on selected sheet, example sheet name "hbl". Only.

    And attach it to outlook. User manually key in email address.

  4. #4
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Need Guidance and Alteration on My Own Workbook - Creating PDF and Mail

    Hi cychua

    The attached code will do as you require. Place it in a General Module. You can call the Code either by Button (assign Create_PDF to the Button) or by assigning a Key Board short cut to the Procedure. Let me know of issues.
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    08-28-2012
    Location
    Klang, Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    113

    Re: Need Guidance and Alteration on My Own Workbook - Creating PDF and Mail

    Hi Jaslake
    It works nicely for me. But how to add on a little technical code, like
    On HBL sheet, i had made 2 printable pages. Possible to create PDF is filled range only? Example like page 2's cell A72 is filled then creating PDF on 2 pages of sheet(HBL)

  6. #6
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Need Guidance and Alteration on My Own Workbook - Creating PDF and Mail

    Hi cychua

    I don't understand the request...please try again.

  7. #7
    Forum Contributor
    Join Date
    08-28-2012
    Location
    Klang, Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    113

    Re: Need Guidance and Alteration on My Own Workbook - Creating PDF and Mail

    Hi Jaslake
    Sorry for my bad explaination.
    On my sheet "HBL" i made the form which printable in 2 pages.
    I wish to create pdf on page 2 where cell "A72" is filled only. Instead of entire sheet (5)/HBL.

    Is this possible?

  8. #8
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Need Guidance and Alteration on My Own Workbook - Creating PDF and Mail

    Hi cychua

    Try this
    Please Login or Register  to view this content.

  9. #9
    Forum Contributor
    Join Date
    08-28-2012
    Location
    Klang, Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    113

    Re: Need Guidance and Alteration on My Own Workbook - Creating PDF and Mail

    Hi Jaslake
    Wonderful! Just like what i want! Very appreciate for your quote and thank you so much.

    Regards
    Cychua

  10. #10
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Need Guidance and Alteration on My Own Workbook - Creating PDF and Mail

    You're welcome...glad I could help. Thanks for the Rep.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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