Consulting

Results 1 to 2 of 2

Thread: VBA code help invoice from several worksheets

  1. #1

    VBA code help invoice from several worksheets

    This seems to be very challenging for me, but i will thank you in advance excel Guru's.
    I have several sheets used for ordering from different divisions and also one for outside sales.
    I would like to generate an invoice from any of the worksheets and send a PDF invoice to my coordinator for sending to the customer.
    Thanks again for any help in advance guys and gals.

    Goal
    To create invoice from several order sheets and email when cell specifies yes to specific employee (Yes is selected Y in last column named Invoice)

    Order sheets (Sheets named RH Commercial, RH Service, RH Residential, Aug Commercial, Aug Service, Outside Sales)
    A B C D E F G H I J K L M N O P Q R S T U V W X Y
    Invoice # Delivery Customers Name Address City State Phone number Date Ordered Date fabricated Job number Job name Description Gauge Quantity L/f Girth Sheets Sheet cost Material cost Fab cost Sell price L/F Cost RPI Price RPI L/F or Each RPI Discount Invoice




    Invoice (Sheet name invoice)
    Invoice Number: D6 copy from cell A
    Delivery: D29 copy from cell B
    Customers name: B8 copy from cell C
    Job Name: B9 copy from cell K
    Job Number: D9 copy from cell J
    Billing Address: B10 copy from cell D
    City: B11 copy from cell E
    State: B12 copy from cell F
    ZIP: B13 auto generate from address
    Quantity: A16 copy from cell N
    Description: B16 copy from cell L
    Unit Price: C16 copy from cell W, Outside Sales sheet copy U
    Total: D16 copy from cell V, Outside Sales sheet copy T

    If same customer same address same date fabricated and yes selected add below A16, B16, C16, D16 and below on same invoice
    (Multiple products same order)

    Invoice range A133
    Create PDF attachment to email and send to email

  2. #2
    Knowledge Base Approver VBAX Guru macropod's Avatar
    Joined
    Jul 2008
    Posts
    4,435
    Location
    Cross-posted at: https://www.mrexcel.com/forum/genera...ets-email.html
    Please read VBA Express' policy on Cross-Posting in item 3 of the rules: http://www.vbaexpress.com/forum/faq...._new_faq_item3
    Cheers
    Paul Edstein
    [Fmr MS MVP - Word]

Posting Permissions

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