quahog Posted November 26, 2003 Posted November 26, 2003 Does any know how to fire off a MSAccess macro from within vb.net? I have a data set that needs extensive cleaning, so I perform the cleaning by running several queries inside MSAccess. I have the queries grouped within a macro, which I would like to fire from my vb.net application. Any help would be greatly appreciated! Quote when the day is bad and life's a curse, cheer up tomorrow may be worse.
Eleventeen Posted November 28, 2003 Posted November 28, 2003 Set your Access reference and create your access.application object. There is a method called DoCmd. Im not too familiar with syntax but if you need a quick example i can give you one when I get home. Let me know Quote
quahog Posted November 30, 2003 Author Posted November 30, 2003 Eleventeen - you are the best thanks! Quote when the day is bad and life's a curse, cheer up tomorrow may be worse.
Recommended Posts