Nov 22, 2006 #1 Matsul IS-IT--Management May 6, 2002 140 BE I am calling an excel macro by simply doing; START C:\auto\prog\macro_~1.xls I now need to pass the name of the database as this is a variable. START C:\auto\prog\macro_~1.xls db_name How would I change the macro to pick up the name ?
I am calling an excel macro by simply doing; START C:\auto\prog\macro_~1.xls I now need to pass the name of the database as this is a variable. START C:\auto\prog\macro_~1.xls db_name How would I change the macro to pick up the name ?
Nov 22, 2006 #2 PHV MIS Nov 8, 2002 53,708 FR Have a look at the Command function in the VBA help. Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886 Upvote 0 Downvote
Have a look at the Command function in the VBA help. Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886