Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I have a userform in Excel where I input a name and when I click on a command button it should pull data corresponding to the name in the TextBox and display it as a caption on some labels. For e.g. If I input name ABC in the textbox, I want to pull ABC's address from the access database and display it on the corresponding label on the userform. I have the following query: "SELECT [Address] FROM ex_table WHERE [Analyst]= UserForm1.txtname.Text'" But it does not work. Can someone help with the code? Thanx. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Query from Access into Excel cause Access to go to read only | Excel Discussion (Misc queries) | |||
Can I use MS Query in Excel like an Append Query in Access | Excel Discussion (Misc queries) | |||
Microsoft Query rejects "nz" function in Access Query | Excel Discussion (Misc queries) | |||
How to use a Access Query that as a parameter into Excel database query | Excel Discussion (Misc queries) | |||
Access query vs. Excel query | Excel Programming |