Hello. I am new to VBA programming, and I'm stuck on a work assignment.
Specifically, I have created a user form with a list box. My code is selecting the data I want, and verifying my choice from the list box. From there, I want the macro to find my data in the spreadsheet, but instead my code is only moving my cell pointer one space to the right each time.
I have the following code set up to choose from my list box
CHOOSE_EMPLOYEE.Value is the item that the user selected from my list box (only one choice allowed). This code seems to be working correctly.Please Login or Register to view this content.
Here's the code to find the selected item in my worksheet:
What I want to happen is to take the value selected from the list box and find it in my worksheet. What is happening, though, is that rather than finding the data Excel is simply moving my cell pointer one cell to the right. Obviously, I'm overlooking something.Please Login or Register to view this content.
As I said, I'm new to this, so any and all help is greatly appreciated. Thanks so much!!
Bookmarks