VBA Help

mallen83

New Member
Joined
May 18, 2011
Messages
10
I am in need of a macro that will do the following.

Dialog(Sheet1)

Customer Date Comment Employee
John Doe 5/17/11 Needs to make a deposit MSA

I want it to take and copy this information from the Dialog Sheet, to a sheet with the customers name after hitting a submit button, then erase the information.

On each sheet I have Date, Comment, and Employee columns and want it to go to the sheet based on the Customer name in A2, to the Sheet named after that customer.

Hope that makes sense and someone can help me out.

Thanks!
 
this would need to be changed
If WorksheetFunction.CountA(Range("A2:C2")) <> 3 Then
to
If WorksheetFunction.CountA(Range("A2:D2")) <> 4 Then
 
Upvote 0

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Alright it works really well except it is clearing out my drop down menu as well, I can make the change to not clear that specific cell, but is there a way to erase just the text and not the whole list?
 
Upvote 0
Thank you

Last one I hope.

Automactially enter the date and time once I have choosen a name from the drop down menu, and of course change that time each time a new name is selected.

Your amazing!
 
Upvote 0

Forum statistics

Threads
1,224,531
Messages
6,179,379
Members
452,907
Latest member
Roland Deschain

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