form filler that seraches a separate workbook for data and emails answer

Blanchetdb

Board Regular
Joined
Jul 31, 2018
Messages
164
Office Version
  1. 365
Platform
  1. Windows
Hi,

I require assistance with the following

On Sheet 1, the person completes a form (each cell contains a drop down menu) - once the form is completed they press "SUBMIT"

a search is done on a separate workbook based on the info provided on the form - answers are emailed to the requestor

example:

Cell D15 - (Branch)Operations, D17 - (City) Calgary, D13 - (Group/Level)AS02......

a search is conducted in a separate workbook (Staffing process Workbook) that has columns named Branch - City - Group/Level

if ALL condition are met, an email is sent, to the requestor that contains information in Column A of the Staffing process Workbook

any help would be appreciated
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Hi,

As an initial step ... you could test the first phase ...

Code:
Sub TestOpenWbk()
Dim wbk1 As Workbook
Dim wbk2 As Workbook
Application.ScreenUpdating = False


Set wbk1 = ActiveWorkbook
Workbooks.Open Filename:=ThisWorkbook.Path & "\YourStaffingNameFile.xls"
Set wbk2 = ActiveWorkbook
''''''''''''''''''''''''''''''''''''''
' Insert the tasks to be performed ...
''''''''''''''''''''''''''''''''''''''
Application.ScreenUpdating = True
End Sub

Hope this will help
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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