Macro For Sending Emails To Persons Listed In A Column

Mar 30, 2008

I have attached an excel sheet which i wanted to write macro as an attachment. .

when I run a macro an email has to be sent to each persons listed in column A with Voucher # in the subject line and URL in the body of the message after the URL, the body of the message will remain same for all the emails:

so I have typed the body of the message in 2nd sheet:

View 14 Replies


ADVERTISEMENT

Macro For Sending Emails :: Pop Up Confirm And Cancel

Oct 13, 2007

I'm using Excel 2002 on and XP machine. I am creating a spreadsheet to track a work plan.

Column A: Name
Column B: Date
Column C: Time
Column D: YES
Column E: No
Column F: New Date
Column G: New Time

What I'm looking to do is input click able buttons in Columns D: Yes and Column E: No.

When a user clicks on YES, a pop up window should appear with the data in columns A,B,C.

The p0p-up should contain CONFIRM and CANCEL buttons.

Asking the user if they want to confirm the date and Time.

If CONFIRM is clicked Excel should then send an email to me and the user to say that the work schedule has been confirmed.

If CANCEL is clicked the pop-up window closes.

Secondly if the user clicks NO, a pop-up window should open with two free text boxes. One for Proposed date and One for Proposed time. And again 2 buttons for Confirm and Cancel.

If Confirm is clicked then Excel should record the data entered in the free text boxes into Column G and Column H and send emails to me and the user with the Proposed date and Time Data.

If CANCEL is clicked the pop-up window closes.

View 9 Replies View Related

Sending Emails From 2003

May 9, 2009

I have a macro which uses Outlook to send an email. I know it's not possible to over-ride the annoying 'Another program is trying to send an email....' dialogue box but I wonder if there is a way of exiting sub if the user clicks No on that dialogue box?

View 7 Replies View Related

Sending Sheets To Emails

Jan 21, 2010

I'm trying to send sheets to an email.

My code up to now saves a copy of the sheet in a file, and I send that file out.

Unfortunatly when I run my macro it ends with the email opening, the file being attached, and I need to input the email adress. Also, i need to automatically overwrite what is in the folder.

My code looks nothing like the one on Ron's tutorials.

View 8 Replies View Related

Sending Emails Automatically

Jul 9, 2013

I want to run a macro dailly where he is going to look in a specific column and based on that value he needs to send emails based on several other cells.

It is a contract database. So for example in:

column A = Country
B = Supplier
C = Days untill end
D = SPOC
E = Manager

What do i want that when i run the macro he looks at column C and where-ever he finds "90" he send automaticly an email to the personnes in column D and E.

In subject i want to see the name of the supplier.

In the email i want to put a text like :

Hello,

Hereby i want to inform you that the contract "Supplier" is going to expire.

Please take the necessary action!,

Also i want to do the same thing when it hits the "30" with other text but i guess that it easy to do when the "90" works

View 9 Replies View Related

Generating Emails From Excel Without Sending?

May 15, 2012

I have a spreadsheet that has a command button which generates an email in outlook express, which until today was 100% fine no problems at all.

However I now need it to generate an email (with the email address and subhject line completed) but not to send it - I've tried everythign I can think of but with no joy

Code below:

Private Sub CommandButton6_Click()
If Range("I88") = 1 Then
MsgBox "You have not completed all the details.", vbCritical
Else

[Code]....

View 1 Replies View Related

Excel 2007 :: Sending Emails With Attachments?

Aug 16, 2012

MY VBA code failed and sucks---

I have a Excel spreadsheet with codes, names, and emails then I have a folder that have XML files with codes that should match and be sent via Outlook 2007 as an attachment.

Example:

Excel sheet
PHA Code
First
Last
email

ALxx2
Jon
Smith
Jon Smith@xyz.com

[code]....

XML files reside in the following folder:

C:UsershomecomputerDesktopTESTxml files

ALxx2_06122012.xml
ALxy10_06122012.xml
ALzz12_06122012.xml

BTW- I have about 3,000 emails to send.

View 7 Replies View Related

Sending Individual Emails To List Of People

Nov 25, 2013

I am look for a way to send out an individual email to a list (Column A) in my excel spreadsheet.

I need to send out an email with a signature in to a lot of addresses.

View 2 Replies View Related

Sending Individual Emails Using Macros With Attached Excel Files?

May 5, 2014

I want to send emails to about 12 - 14 people with various different excel spreadsheets using macros. This is after I have finished running a macro that splits a report into various departments and needs to be emailed to the heads of each department. I want to be able to attach each ecel report to its owner and have the macro email it for me once the reports have been generated.

View 3 Replies View Related

Macro To Find Last Of Name Listed?

May 31, 2012

I need a macro to find for example

Bigg, Kelly
Bigg, Kelly
Bigg, Kelly (find the last name listed in the column) then move over (0,2) and copy - paste into a different spreadsheet.

Where I am mainly stuck is it locating the last name listed in the file - if the name is listed multiple times.

View 2 Replies View Related

Substitute X Values With Meat Types Listed First Column

Jun 7, 2013

How to get a formula that will substitute every X with the actual type of meat. For instance, under Monday column, my table should list Liver, Pork, Mutton and Lamb Stew instead of X.

Mon
Tues
Wed
Thurs
Friday

Liver

X
X

[Code] ........

View 2 Replies View Related

Import Range From Multiple Workbooks With Names Listed In Column

Mar 31, 2008

I have been trying to use a FOR EACH C ...... NEXT loop, where each cell in the range is the beginning of a worksheet name that I need to import.

What I have got so far is:

Sub FindMyFiles()
Dim fs As FileSearch
Dim ImportWB As Workbook
Dim MasterWB As Workbook

Set fs = Application.FileSearch
Set MasterWB = ThisWorkbook

View 4 Replies View Related

Lookup Query - Occurrences: Create Another Worksheet With The Months Of The Years Listed Down Column

Oct 16, 2008

I have a table that lists the months of the year down from cell A2:A13, and days of the week along row from cell B1:H1. The data in between (cell B2:H13) is pulled through from elsewhere in the workbook and is in number format.

What I basically want to do is create another worksheet with the months of the years listed down column A, and in column B, for each month, I want the first day of the week where the value in the original table is more than zero, and in column C the second day of the week where the value is more than zero. I really hope that makes sense, was quite difficult to explain!

View 2 Replies View Related

Build Macro Which Emails Specific Records?

Jan 13, 2013

I am trying to build a macro using two files. The file 'master data.xls' has student details in a table containing 10 column heads as attributes (roll, name, address, email etc). The file 'Student Profile.xls' has been formatted to show individual student details in the form of a report. I want to prepare a macro such that each time I enter a new record in the "master data.xls", the data from new entry is printed in the format as given in "Student Profile.xls" as a pdf file which is saved with a file name defined by "(roll number) (First Name) (Last Name)" and the same is emailed to the student's email ID as specified in the "master data.xls" with the mail containing an address to the student name (ex: Dear Tom) and a standard text message in the body.

View 1 Replies View Related

Convert Macro To Send Emails Automatically?

Feb 3, 2013

I have attached a sample workbook. The workbook already has a macro that can send an email after working out if the date is overdue. I have put a button on the screen, but I would like to remove the button and automate it, I got the initial macro from,( whoever initially put it together) but I have since made some changes to it regarding how the message displays etc. i, 15 or i, 16 in the macro means, There isn't anything in column i and I can't work out the relevance of it.

View 1 Replies View Related

Excel Macro That Will Send Emails From Outlook

Feb 13, 2014

I got this VBA code from a colleague which he uses when sending multiple emails from Outlook. This code sends email based from the last cell. What I would like to do is send emails to all the recipients listed in column C. Column A will be the sender and column B will be email subject. Attached is the sample file.

[Code] .....

Send email.xlsm‎

View 2 Replies View Related

Macro To Batch Copy And Save Worksheets With File Names Listed In Cells?

Oct 23, 2013

I have a workbook that contains worksheets. They are listed as follows:

Sheet 1ABCDEFG

In cells A1 - A49 I have text. What I would like to do is to have a macro that I can run that will basically copy and save new workbooks with sheets A - G copied over and have the new workbook saved with the file name that I have denoted in cells A1 - A49 on Sheet 1. Also, the macro would ask me where I want to save the new Workbooks.

For example, if this were Sheet 1, Column A then the cells below would be the saved name of the new workbooks and the new workbooks would have Sheets A - G in themRed

Blue

Purple

Black

White

Yellow

Orange

Green

Gray

Brown

One more piece of information, the file that is being copied and saved is large (~80MB). If there is a macro that would allow me to simply "save as' the workbook and the Saved Workbooks would be named using the data in Sheet 1, that would work as well in case copying, pasting, then saving may take more time

View 1 Replies View Related

Macro For Sending Mail With Attachment From Outlook

Jan 17, 2013

I need to send 25 mails on daily basis to my client. All fields in mail are common except recipient and attachments. Every mail has 3 excel attchments. So i created a macro in excel which sends mail as per my requirement but picks up only one attachment from the path i have mentioned in the vb code. Whole macro is running perfectly. I just want to know what modification i should do in that code to attach more than one excel file to the mail from the path i have given. Below is the code:

Sub macro1()
Dim sFolder As String
Dim Folder As Object
Dim file As Object
Dim fso As Object

[Code]....

View 1 Replies View Related

Excel Macro (VBA) Sending Active Worksheet In PDF By Outlook

Mar 17, 2014

I find out a code to create a PDF (with opening the Save As dialog box) from an active worksheet, but I can't find out how to send this PDF by e-mail (Outlook). The code is working till the words 'Set OutApp'.

Just what I want is to send the active worksheet as PDF (as attachment) by email (Outlook). Here the present code.

Code:
Sub SendPDF()
'
' SendPDF Macro
'
Dim OutApp As Object
Dim OutMail As Object
Dim v As Variant
v = Application.GetSaveAsFilename(Range("E2").Value, "PDF Files (*.pdf), *.pdf")

[code]....

View 9 Replies View Related

Pop Up Appear If A Persons Name Appears More Than Once

Jun 20, 2008

I would like to have a list of names in column A1 Smith, A2 Jones, A3 Johnson etc. Everytime someones name appears in E1-E20 I would like the adjacent column next to that persons name to turn red. Example: I type Smith in E14 -> B1 turns red. If it's not too complicated it would be good if excel could recognize the name in any font,capitols etc.

Lastly if I could have a pop up appear if a persons name appears more than once in column E that would be great. Example type Smith in E1 and then when I type smith in E4 pop appears--Name already used once do you want to continue?

View 9 Replies View Related

Two Different Persons Locking Cells?

Jul 16, 2013

Is it possible for 2 different persons to lock different cells on the same worksheet?

View 3 Replies View Related

Count Of Persons Name In Range

Mar 11, 2008

I want to count how many times a name is listed in the first 5 rows of 36 columns.

View 9 Replies View Related

How Can I Make A Persons Name Read A Formula

Jul 28, 2009

If I type the name Joe Bloggs How can I make whenever i type that name the computer knows to retreive a number or formula from a cell on another or same sheet.

View 9 Replies View Related

How To Send Email To Different Persons With Different Information / Files

Sep 14, 2013

I am running a small size company, creating several excel works to automate the order/ shipment / invoice work. Try very hard to know how send invoice / AR summary email to different customers.

View 2 Replies View Related

Summing Data Over Multiple Sheets According To Persons Name

Jan 16, 2012

formula that will find "John Doe" through sheets 2-10 and check the Win column for a "w"..if a W exists, Sheet 1 will calculate numericaly how many times it shows progressively, but only for his name and not others.

Sheet 1 B7=John Doe
C7 = total W's though sheets 1-10 for John Doe
Sheet 1
B7 C7
John Doe total W's

[Code]...

This is a alteration to an existing question I asked 2 Days ago, I redesigned a new spread sheet to start over with a new approach to it.

View 2 Replies View Related

Five Digit Numbers That Represent A Persons Code

Dec 1, 2009

In one column (f5:F100) I have five digit numbers that represent a persons code. I have five groups of codes, they are 10000-15000, 16000-19000, 20000-25000, 26000-29000, and 30000-40000. In another column (Column H) I have an "X" saying the are qualified in something.

I am looking for how to write a statement that says answers this question:

How many people are qualified in the codes between 10000-15000.

Ultimately I am going to take this number and divide it by the total number of people in the group to get a percetage of qualified people in the group.

View 9 Replies View Related

Calculate Persons Age Based On Current Date

Jan 22, 2008

how do you calculate someone's age nearest today

View 3 Replies View Related

Macro To Generate Outlook Emails With Data / Information From Multiple Rows Of Data?

Apr 30, 2014

I am attempting to create a macro to generate emails based on data in a sheet. The goal is to run the Macro, and have it generate emails to send to contractors letting them know what they are going to be paid. For instance:

Name in Column J
Email in Column L
Memo in Column N
Balance in Column T
Due Date in Column P
Week Ending Date in Column H

Now what I would like to happen, is to tie a macro into a button that will create the email as follows:

To Field: Email address from Column L
Subject: "Company Payment Remittance Payment Date *Date from Column P*"
Body: Hello *Name from Column J*,
For *WE Date in Column H* you will be paid *Balance from Column T* for the time worked of *Memo in Column N*

Now the tricky part is that I want the email to contain all line items for each email address. So instead of sending one email per line, have the macro automatically put all of the information that needs to be sent to one email address into the message. I don't know if that is possible, but it sure would make my life easier if it was.

I have attached a sample workbook of the data that will be used

Example Workbook for Email Macro.xlsx

View 1 Replies View Related

Macro To Send Multiple Emails To Multiple Recipients With Standard Message As Per Spreadsheet Table

Feb 18, 2014

get the code for sending multiple emails as per the spreadsheet list. Assume the spreadsheet has 100 line items and each columns specifies the name of the person, value, recipient email address ("To" and "CC") and sender name.

And the Body of text is :

Hi "Name of the person" Please find the value of "Value" to be paid for the moth of xxx and kindly let me know for further clarification.

View 1 Replies View Related

Excel 2013 :: Calculating Count Of Persons Of Certain Ethnicity Relatively To Place Of Birth

Mar 16, 2014

I am Using Excel 2013 on windows 8 OS,

I have no programming background but I have an Idea about it and I try to write some VBA Macros.

I have 27 Excel files which contain each of them 257368 Row Concerning personal information about persons
the File Format is as Follows:

Place of Birth (POB); Name; Father's Name; Family Name; ID Number; Ethnicity,>>

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved