It is my first post here so Hi everyone. I have a problem with code in VB.NET
I have this line:
WorksheetFunction.CountA(ExWorkSheet.Range("A1:C65536"))
And compiler told me that: 'WorksheetFunction' is not declared. It may be inaccessible due to its protection level
I also tried that:
Application.WorksheetFunction.CountA(ExWorkSheet.Range("A1:C65536"))
Then the error is: 'WorksheetFunction' is not a member of 'System.Windows.Forms.Application' Thank for any help