Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Creating multiple messages from spreadsheet

Hi,

In my office we currently, on a daily basis, using the Mail Merge
function of Word to e-mail customer bookings from our call centre to
the relevant branches. This makes use of an Excel spreadsheet with the
data to merge. However, one problem is that the branch managers would
really like to have the customer's name as part of the subject line
e.g. "Booking Information - <<CUSTOMERNAME". This is not possible
with Office 2000 Word e-mail merge function.

It has been suggested to me before that this is possible in VBA. I am
not a novice to programming - at all. However, I am not ver
proficient in VBA and its Ins & Outs.

What I need to be able to do is (from Outlook, Word or Excel - whatever
makes it easiest) create an e-mail message object (I think there is
such a class) and then build up the content in the message using each
row in the Excel spreadsheet.

I dont mind building the message up programatically i.e. (not VB syntax
I know):

message.line.write("Customer Booking for " +
Excel.row[i].cell[2].value);

and

message.subject = "Booking Notice: " + Excel.row[i].cell[2].value;

Obviously I would need this to loop until it comes to the last row in
the spreadsheet.

Any help with this would be greatly appreciated...

Mark Young

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating input messages or comments Louise Excel Worksheet Functions 4 January 19th 06 02:04 PM
Creating Multiple GIFs from Multiple Range selections -- I need a volunteer to test my code to see why it fails Father Guido[_5_] Excel Programming 0 November 19th 05 08:52 AM
creating multiple files from a spreadsheet Carol Summa Excel Discussion (Misc queries) 1 March 17th 05 12:07 PM
Creating Multiple ODBC System DSNs from an Excel Spreadsheet Mark[_22_] Excel Programming 1 October 21st 03 05:06 AM


All times are GMT +1. The time now is 11:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"