View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Maarten Kouwenhoven Maarten Kouwenhoven is offline
external usenet poster
 
Posts: 3
Default Using a Variable to point out a listbox.

Hi There,



In Excel I have written a function to extract information out of a database.
With this data I fill a predefined Listbox. The function has the following
input : SQL, username, password and database name. Furthermore the function
is working perfectly!



Since I need to fill several Listboxes (in this application and in the
future) is there a possibility to pass the name of the Listbox into my
function and use this variable to point out the listbox and fill it with the
extracted information.



Any help would be appreciated!



Best Regards,



Maarten Kouwenhoven