Forum Discussion
AminuF
Jan 10, 2021Copper Contributor
Vba
I have a vba file I am developing for sales transaction. If I run the vba file and I add a product, I get a run-time error 1004, that unable to get the vlookup property of the worksheetfunction class...
AminuF
Jan 10, 2021Copper Contributor
how do I send the file?
JMB17
Jan 10, 2021Bronze Contributor
If you click on reply, instead of quick reply, you should see where you can attach a file - assuming there is no sensitive information. Otherwise, maybe copy/paste the applicable code. An incorrect argument being passed to the vlookup function may be the problem.
- AminuFJan 10, 2021Copper Contributor
- JMB17Jan 10, 2021Bronze ContributorThe vlookup functions appear to be working okay for me. Is there a particular procedure and line that is problematic, or are there circumstances (userform inputs) where it's not working?
You could also be getting that error if the value being looked up doesn't exist in the table.- AminuFJan 10, 2021Copper Contributor