reading database value into a cell

  • Thread starter Thread starter Xabi
  • Start date Start date
X

Xabi

Hello:

It's possible than I assing a datasource value into an especific cell?

ex. cellA1.text=TableSource.CompanyName


thanks and regards

Xabi
 
i don't think u can
u need a databaseconnection (through odbc, ...) to access th
database.
You could use the function 'get external data' in the data menu.
It gives you a wizard, follow the steps to access the database, you ca
then make the query you need (i.e. select name from personsTable) an
sent the result back to excel
 
Hello schuurke28:

Thanks by your answer :).

The problem is that I have twenty fields in my table and this way looks
like heavy.

Is not any way to do this? cell.text=table.name or near?

thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Real Rows 4
VBA code to read formular from another cell 1
ListView Sorting 1
Slow response from excel 1
Worksheet Change - Help! 5
macros help needed 2
Find 1st Empty Cell: How to? 4
help with a macro 2

Back
Top