Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50070

Userform that generate the report from worksheet

$
0
0
Hi Gents

I'm new on this forum, and I just start my adventure with excel ;)
At the beginning I’m really sorry for my English, I hope this will not cause problem for you guys.

Currently I’m stuck with my project and I can't find the answer for my problem: /. So I really hope that you gents can help me :)

At the moment I’m creating "error log" userform to log errors made in the various departments in my company. So far I manage to create the userform (ErrorLog) that is allow me to record the errors onto excel spreadsheet (errorlog, sheet1). Now I need something to allow me to generate "the report". I came out with idea that I want other userform that’s allow me to view how many and who made the errors in specify day.
So I create action button on first userform (ErrorLog) that's open 2nd userform (Report).
On the "Report userform" I’ve got "command button - batching date" which if it's selected will display all batching dates (from error log spreadsheet) in "listbox", and now where black magic for me started:( and I really count that you guys with your knowledge can help me!!
This is what I want to achieve:
1. If I select date from listbox it will shows me in "Batcher name" list of all operators (from spreadsheet; errorlog) that made error in that particularly day
2. When I pick a name it will populate relative information’s (from shpeadsheet: errorlog) to the textbox:
a) In team it will display which team/department it was
b) In batch number it will display batch number
c) In error info it will show error message

It could be that one operator can cause more than one error per day, so I need maybe some other button (maybe NEXT) that will allow me to view other errors that the operator made.

I'll attached work that I have done so far.

THANK YOU VERY MUCH FOR YOUR HELP

Luk
Attached Files

Viewing all articles
Browse latest Browse all 50070

Trending Articles