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

Blanchetdb

Board Regular
Joined
Jul 31, 2018
Messages
153
Office Version
  1. 2016
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

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
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,214,625
Messages
6,120,598
Members
448,973
Latest member
ksonnia

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