Hello,
I'm having a problem using worksheetfunction.match in my vba code. The problem lines look like this:
set ws = activeworkbook.worksheets("Storage")
ws.activate
intColumnNumber=application.worksheetfunction.match("Crop","A1:Z1",0)
I'm getting error 1004: "Unable to get the match property of the worksheetfunction class."
I've tried dimming intColumnNumber as type double without success. Any ideas?
Thanks in advance,
svjack9
I'm having a problem using worksheetfunction.match in my vba code. The problem lines look like this:
set ws = activeworkbook.worksheets("Storage")
ws.activate
intColumnNumber=application.worksheetfunction.match("Crop","A1:Z1",0)
I'm getting error 1004: "Unable to get the match property of the worksheetfunction class."
I've tried dimming intColumnNumber as type double without success. Any ideas?
Thanks in advance,
svjack9