+ Reply to Thread
Results 1 to 3 of 3

Using a form or messagebox to create an email

  1. #1
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,952

    Using a form or messagebox to create an email

    I'm conversant with VBA for Excel, MUCH less conversant for Outlook, so need some hand holding.

    At work, each morning, I have 2-6 vouchers bomb due to bad coding by someone in Accounting. We have Budget Analysts around the state to advise Accounting when they have issues. Part of my job is to supply the pertinent Budget Analyst with the details on the problem and the voucher so that they can advise Accoutning on how to recode the voucher to pass. To help me in that, I created the below code. It creates the email shown in the attachment, quick and easy. My problem is that my code is not robust enough; if I have more than one voucher erroring I have to do a lot of typing just to notify my folks that they have issues to look into. Every day the voucher numbers go up, and the format of the numbers changes (for instance,"09670500" is shown in my code, but we're up to 09680423 today, and some vouchers are formatted as "EN0008792", or "CT0006781"). As well, the error might be any of 7 different errors, and I might have to email 3 or 4 different budget analysts. I'd like to do all of that at one shot. To do that, I thought about using a form to plug in the following:

    Number of vouchers erroring
    (depending on the above, I'd like fields to enter the following for every voucher that's erroring)
    Voucher Number
    Current coding - 4 fields: Dept (like "010"), PAC (like "11002"), LBBAcct (like "L2005"), and FY (like "2014")
    Type of error
    Budget Analyst Name (which I would use to pull their email address).
    Number of vouchers erroring for that budget analyst today (so we can use text that says "vouchers are erroring" instead of "voucher is erroring")

    Note: If LBB Acct is "L2005A" I'd need to add some special standard text to the email notice, for instance "L2005A should never be used".

    Once all fields are filled in, I'd like to hit my "Go" button and have an email generated, either one big one to all of the BA's affected by today's erroring vouchers, or a separate email to each one. However, my paltry skill at Outlook programming leaves me virtually helpless here, so I'm here begging for some help.

    Thanks in advance!

    Please Login or Register  to view this content.
    Attached Images Attached Images
    Last edited by jomili; 01-29-2014 at 12:41 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,952

    Re: Using a form or messagebox to create an email

    Bumping up, as I'm still in need of help on this one.

  3. #3
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,952

    Re: Using a form or messagebox to create an email

    Still need help.

+ 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. [SOLVED] Help me fix attached code (create Outlook email then create calendar item)
    By Rerock in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-19-2013, 08:15 PM
  2. [SOLVED] User Form - Hyperlink Button within a Form, to create a Link on a Designated Cell
    By Sinalk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-27-2013, 07:29 AM
  3. Can i Create Email form for intranet web page
    By jesika in forum Outlook Programming / VBA / Macros
    Replies: 1
    Last Post: 04-23-2009, 07:40 AM
  4. [SOLVED] How do I create an email form?
    By joe41 in forum Outlook Programming / VBA / Macros
    Replies: 0
    Last Post: 03-06-2009, 05:01 AM
  5. create Vlookup in the form, dropdown in the form, automatic numbering
    By mechant in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-08-2008, 10:51 AM

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