Jan 19, 2007 #1 Aidy680 Technical User Nov 1, 2006 138 GB Can anyone tell me why this wont work. I run it from Access calling it in Excel: xlApp.Run "'Z:\Test1\Spreadsheet.xls\ATOM_DividendInfo.xls'!GetDividendInfo dteStartDate, dteEndDate" It's the arguments I'm having problems with. Without them it runs fine.
Can anyone tell me why this wont work. I run it from Access calling it in Excel: xlApp.Run "'Z:\Test1\Spreadsheet.xls\ATOM_DividendInfo.xls'!GetDividendInfo dteStartDate, dteEndDate" It's the arguments I'm having problems with. Without them it runs fine.
Jan 19, 2007 Thread starter #2 Aidy680 Technical User Nov 1, 2006 138 GB ...just noticed. Sorry about the spelling. In a rush... Upvote 0 Downvote
Jan 19, 2007 Thread starter #3 Aidy680 Technical User Nov 1, 2006 138 GB ...the error message says that it doesnt exist!? Upvote 0 Downvote
Jan 19, 2007 Thread starter #4 Aidy680 Technical User Nov 1, 2006 138 GB ...and the answer is: xlApp.Run "'Z:\Test1\Spreadsheet.xls\ATOM_DividendInfo.xls'!GetDividendInfo", dteStartDate, dteEndDate Cheers! Upvote 0 Downvote
...and the answer is: xlApp.Run "'Z:\Test1\Spreadsheet.xls\ATOM_DividendInfo.xls'!GetDividendInfo", dteStartDate, dteEndDate Cheers!