I posted this problem a month or so ago on the Excel message board and thanks to Pennysaver and LEXCERM for their reply. The question I was asking which was not very clear was how to do the following if possible using VBA so the user only has to click one macro button.
I am new to Access and Excel VBA so am not too sure if this is possible. I have got an Access Database with a table called Customers which holds name, address and postcode.
I have an Excel Spreadsheet with cells that hold name, address and postcode.
What I would love to do is be able to enter the name in a cell in Excel click a macro button and the address and postcode is populated from the database automatically.
The response I got form Pennysaver and LEXCERM was to use import data and go through that procedure. That worked but would be too complicate for the user I am giving the system to.
Hope this make sense and sorry if I am being a pain in asking this again. No one on the excel message board responded so I though I would ask the Access experts. Cheers in advance
Pengla
I am new to Access and Excel VBA so am not too sure if this is possible. I have got an Access Database with a table called Customers which holds name, address and postcode.
I have an Excel Spreadsheet with cells that hold name, address and postcode.
What I would love to do is be able to enter the name in a cell in Excel click a macro button and the address and postcode is populated from the database automatically.
The response I got form Pennysaver and LEXCERM was to use import data and go through that procedure. That worked but would be too complicate for the user I am giving the system to.
Hope this make sense and sorry if I am being a pain in asking this again. No one on the excel message board responded so I though I would ask the Access experts. Cheers in advance
Pengla