Hi Im new to VBA. I have a question below it would helpful if i got the answer
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Department[/TD]
[TD]Sub_ID[/TD]
[TD]ID[/TD]
[/TR]
[TR]
[TD]8585[/TD]
[TD]00_A01[/TD]
[TD]00_A[/TD]
[/TR]
[TR]
[TD]9585[/TD]
[TD]01_B20[/TD]
[TD]01_B[/TD]
[/TR]
[TR]
[TD]1010[/TD]
[TD]00_C50[/TD]
[TD]00_C[/TD]
[/TR]
[TR]
[TD]2025[/TD]
[TD]05_P20[/TD]
[TD]05_P[/TD]
[/TR]
</tbody>[/TABLE]
I have the above table for data.I want function/sub to search and get/return the value in Sub_Id and ID based on Department value.
The above table is example i have the sheet with 10000 rows
Thanks in advance
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Department[/TD]
[TD]Sub_ID[/TD]
[TD]ID[/TD]
[/TR]
[TR]
[TD]8585[/TD]
[TD]00_A01[/TD]
[TD]00_A[/TD]
[/TR]
[TR]
[TD]9585[/TD]
[TD]01_B20[/TD]
[TD]01_B[/TD]
[/TR]
[TR]
[TD]1010[/TD]
[TD]00_C50[/TD]
[TD]00_C[/TD]
[/TR]
[TR]
[TD]2025[/TD]
[TD]05_P20[/TD]
[TD]05_P[/TD]
[/TR]
</tbody>[/TABLE]
I have the above table for data.I want function/sub to search and get/return the value in Sub_Id and ID based on Department value.
The above table is example i have the sheet with 10000 rows
Thanks in advance