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.
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

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?
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,152,793
Messages
5,772,271
Members
425,750
Latest member
johobie

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top