I have a function for user to upload xlsx. Then, the program reads and converts excel data to a datatable.
If there are more than one worksheets in the file, I want the program reads the active one only.
So, how can I detect which one is active? Thanks.