sql.request and collecting data from a database
Posted by Eowyn on June 08, 2001 4:38 AM
I'm wondering wether or not it's possible to get sql.request to use as many rows and columns in excel as it needs? I have no problem marking a number of cells, entering =SQL.REQUEST("DSN=MyBase";;2;"SELECT ... ...") and hitting ctrl+shift+enter to get the result to fill out the selected cells. But what if I don't know how many cells are needed for the result? Is there any way to tell sql.request to use all the cells it needs..? Will I have to use macros / visual basic to get this done?
If so - any hints where I should start? I've never programmed macros / visual basic before.