Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 26
Default Macro to split excel file into seperate files and then email

I have to split an excel file into seperate files using particular customer
codes and then email these directly to a particaular email account depending
on the customer code.

Is it possible to automate the cutting of the original file and then (maybe)
email these directly?

Details for the initial file is;
30 columns of data
Column to be used to split data is in "H"
The main file is always saved as "OpenTTL_NoText.csv"

An example of the Customers code is GAIM001

Header Row (Row one) to be reproduced on each new file
The new workbook to be saved as the Customers code then todays date

Many thanks
Peter
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Macro to split excel file into seperate files and then email

I'd start with Ron de Bruin's site:
http://www.rondebruin.nl/tips.htm

He has lots of sample code to do this kind of thing.

He also has an addin that may help you:
http://www.rondebruin.nl/easyfilter.htm

And if you're interested in emailing from excel, refer to Ron's site, too:
http://www.rondebruin.nl/sendmail.htm



LITTLE PETE wrote:

I have to split an excel file into seperate files using particular customer
codes and then email these directly to a particaular email account depending
on the customer code.

Is it possible to automate the cutting of the original file and then (maybe)
email these directly?

Details for the initial file is;
30 columns of data
Column to be used to split data is in "H"
The main file is always saved as "OpenTTL_NoText.csv"

An example of the Customers code is GAIM001

Header Row (Row one) to be reproduced on each new file
The new workbook to be saved as the Customers code then todays date

Many thanks
Peter


--

Dave Peterson
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
split data into seperate worksheets by criteria emma1402 Excel Worksheet Functions 2 July 3rd 08 09:23 PM
Sending Difft Sheet as a seperate file thru email prasadpain Excel Worksheet Functions 1 September 7th 07 05:58 PM
How to seperate data in a cell which is split by a comma Eamonn Excel Worksheet Functions 1 March 29th 06 09:30 AM
Seperate/Split celinput peter Excel Worksheet Functions 2 August 6th 05 08:41 AM
Open Excel files in seperate windows jayhawk940 Excel Worksheet Functions 2 April 15th 05 11:58 PM


All times are GMT +1. The time now is 05:53 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"