I am nto so hot at VBA so this is probably a mess.. but what I am attempting to do is use this function to populate a field in a query.. but i get the runtime error 424 Object Required.. there are more elseif statements but they are all the same format and context.. any ideas?
Public Function...