+ Reply to Thread
Results 1 to 6 of 6

Macro to Save to PDF

  1. #1
    Registered User
    Join Date
    07-16-2019
    Location
    Israel
    MS-Off Ver
    16.26
    Posts
    3

    Macro to Save to PDF

    Hello Everone,
    I have an excel file with two worksheets, in one of them I have a table with names of my sales employees and their sales targets throughout the quarter/year.
    In the second sheet I have a table where I'm running VLOOKUP to calculate the commission if each sales employee, I simply type the name of the employee same as I have on sheet #1 and the formula calculates the commission, which then I save as PDF and send to the employee for final signing.
    I would appreciate if someone can assist me with a script to automate the entire process including the "save to pdf".
    Thank you very much!
    Avi
    Last edited by AliGW; 07-21-2019 at 12:59 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,290

    Re: Macro to Save to PDF

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however the thread title does not really convey what your request is about.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. As you are new here, I have done it for you this time.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    07-16-2019
    Location
    Israel
    MS-Off Ver
    16.26
    Posts
    3

    Re: Macro to Save to PDF

    Thank you Ali for pointing this out for me.

  4. #4
    Registered User
    Join Date
    07-21-2019
    Location
    Holt, Norfolk, England
    MS-Off Ver
    2019 Pro
    Posts
    24

    Re: Macro to Save to PDF

    My first post and I can answer some of the question, I run a macro that does that plus other things, hopefully I have pulled out the relevant bits.

    Please Login or Register  to view this content.
    End Sub

    Hope you find the answer to the other elements of your request.

  5. #5
    Registered User
    Join Date
    07-16-2019
    Location
    Israel
    MS-Off Ver
    16.26
    Posts
    3

    Re: Macro to Save to PDF

    Thank you very much Anthony!
    Just to make sure I understand, as I don't have an experience with scripts, do I need to change the name of the employee manually? or is it being taken from the sheet and calculated?
    If you would like I can add the excel here.
    Thank you.

  6. #6
    Registered User
    Join Date
    07-21-2019
    Location
    Holt, Norfolk, England
    MS-Off Ver
    2019 Pro
    Posts
    24

    Re: Macro to Save to PDF

    I PM'd you but not convinced it was sent?

    Tony

+ 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. Download and combine Multiple Basic HTML Pages into an Excel Workbook
    By bugpro in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-21-2016, 03:15 PM
  2. My loop to output a script file for AutoCad needs assistance
    By 480vmotor in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-21-2015, 03:51 PM
  3. Assistance with a script to auto sequence a column
    By Mr_Bill in forum Excel General
    Replies: 1
    Last Post: 08-19-2014, 01:00 AM
  4. VBA Script Assistance for Table Comparison by Row
    By Iggy2k13 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-27-2013, 06:35 PM
  5. Integrating Mainframe emulator script with excel's vba script
    By Himanshu Mishra in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-07-2012, 10:30 AM
  6. Excel 2007 : Database creation - VB script assistance
    By plato_pup in forum Excel General
    Replies: 10
    Last Post: 09-13-2011, 04:17 AM
  7. Create VBA script to short, dedicated button in excel for script?
    By realized in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-01-2009, 11:54 PM

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