Sending File to another directory & e-mail

arrastiae

New Member
Joined
Jun 22, 2007
Messages
4
1. I have one file called "BrokerCommisions" and want to create a macro from here.

2. I have a file called "BRKCOMAPR09" - the first 6 characters will always be constant (the the latter 6 will change depending on the Month & Year). This file contains 5 worksheets.

Request # 1: From file listed in #1, I want to send only the first 2 worksheets (these are the first 2 - from left to right) of file listed in #2. The worksheets are called "Daily Details" and "DTD by Books" and want to only send these 2 worksheets as a file (let's call it "Daily Commissions") to a separate directory Path (lets call it I:\ABC\Commissions). The "Daily Commissions" file will be constant and should automatically be overwritten each time.

Request #2: If possible, can be part of macro for Request#1, once the "Daily Commissions" file is updated for the day, then automatically send an internal e-mail within the company to designated staff.
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

Forum statistics

Threads
1,214,646
Messages
6,120,716
Members
448,985
Latest member
chocbudda

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
Back
Top