Sending spreadsheet via email (outlook)

jaypatel

Active Member
Joined
Nov 25, 2002
Messages
385
Hi,

I have a problem.....

firstly, i have 5 columns of data of which 2 are relevant, column A and B, populated by 20 rows, but it could be more or less.
Column a is an account number (alphanumeric like V0002) and column b has its corresponding email address, like accountv2@accountv2.co.uk.

The first problem is, how do you do a macro that does file save for individual account numbers for each spreadsheet. So it will create a "file save" V0002.xls as 1 spreadsheet, file save V00003.xls as another spreadsheet etc, so it will create 20 individual spreadsheets, but of course if there is 30 rows of data, it will need to create 30 different named spreadsheets.

Jay

PS this will be done on a weekly routine, so it must overwrite the data, and not ask the question that the file already exists. Also, the directory for all the files can be in the same directory.
 

Some videos you may like

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

Scott Huish

MrExcel MVP
Joined
Mar 17, 2004
Messages
19,958
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
If you are still looking for help with this, I have a couple of questions:
What is going into the new worksheets?
Can you post a sample of what this looks like?
 

Watch MrExcel Video

Forum statistics

Threads
1,113,859
Messages
5,544,708
Members
410,630
Latest member
Maggie28
Top