I am currently stuck on a problem and could use a little help. I am trying to run a delete query using the current selection as the parameter. I feel like I am close but I keep erroring out. Here is my code:

Please Login or Register  to view this content.
It is erroring on "MyQueryDef.Execute" and stating "Run-time error 3464 : Data type mismatch in criteria expression"

I am new to writing VBA that crosses between Excel and Access. Any help on this would be greatly appreciated!!!