We help IT Professionals succeed at work.
Get Started

Creating a User Form with VBA

254 Views
Last Modified: 2016-02-11
Good Morning,
I am developing an Excel based internal authorization form and log for our organization.  The form will work as follows:
User form on one worksheet (the form will request information from the user regarding their request for approval and it will identify the person who needs to provide the approval).  Once the user clicks the submit button, we would like the requested information to be populated on to the tab designated for that particular Approver.  There will be several Approvers and each should have their own worksheet.  At the same time, we would like an approval log to be populated with all the details of the request and if possible, an e-mail to be sent to the Approver advising they have something to approve.  Once the Approver goes to their tab in the workbook and they approve the request, we would like a second e-mail to go back to the requester and the approval log to be populated with the Approver's name, date and time of approval.  The Approver's tab will locked and will require a password to access.  The Approval log will also be locked with access only by an administrator.  I already have a couple pieces of the puzzle.  I have the user form and Approvers tabs (attached)  I also have code for the e-mail function and populating the approval log (all attached).  I don't have code to populate the approvers tab and I don't have any code for the return e-mail back to the requestor.  I have been playing with this using various suggestions from online and can't seem to get it to work.  I am just starting to understand VBA, but I am the beginner level.  The tabs at the bottom of the sheet will actually have the approver's names rather than the generic labels.

Any help or guidance would be greatly appreciated.
FORM.xlsm
Comment
Watch Question
Commented:
This problem has been solved!
Unlock 1 Answer and 14 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE