email results from a request form in one workbook when the data is in another workbook

Blanchetdb

Board Regular
Joined
Jul 31, 2018
Messages
164
Office Version
  1. 365
Platform
  1. Windows
Can you advise if the following is possible?

I have two workbooks - 1st workbooks contains the request form and the 2nd workbook contains the data

I need that information selected on the request form trigger a search in the second workbook where the results are emailed to the person

The person selects in cell D14 - Operations, D13 - AS02, D15 - Calgary ..... they press "SUBMIT"

a search is conducted in the 2nd workbook and processes that meet ALL those criterias are emailed to him

can that be done?
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Hello,

As usual with Excel ... the answer is Yes ...

BUT ... you will obviously have to build your macro ...

one step after another ...to overcome each obstacle ...:wink:
 
Last edited:
Upvote 0
thanks

I know how to build the macro to email and create a "SUBMIT" function. I a familiar with IF statements, that when met an email is generated to a recipient

I have never done a macro that involves two workbooks

can you help me on how to do so?
 
Upvote 0
Let me share with you the basic principle ... which is extremely simple ...

The first workbook will manage everything :

1. Open the second workbook

2. Perform the tasks required

3. Save and Close the second workbook

Feel free to ask specific questions ...

I will do my best ...to ' track ' you and assist you if needed ... :wink:
 
Upvote 0

Forum statistics

Threads
1,224,747
Messages
6,180,719
Members
452,995
Latest member
isldboy

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