By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,968 Members | 1,588 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,968 IT Pros & Developers. It's quick & easy.

Listbox items

P: 9
I want a macro to run every time an item in my listbox is selected, rather than add a button to do this I d like to know how I can do this?

I am using VB in word
Jan 29 '08 #1
Share this Question
Share on Google+
6 Replies


werks
100+
P: 220
I want a macro to run every time an item in my listbox is selected, rather than add a button to do this I d like to know how I can do this?

I am using VB in word
Hi woolls what do you mean by macro?


Better Than Yesterday ^^
Jan 29 '08 #2

P: 9
I just want a textbox to update with the information in the field, just a small piece of basic code that I want to auto update when the listbox selection changes
Jan 29 '08 #3

debasisdas
Expert 5K+
P: 8,127
Hi woolls what do you mean by macro?
If you don't have any knowledge of the subject no need to reply to any question.
Jan 29 '08 #4

100+
P: 103
I just want a textbox to update with the information in the field, just a small piece of basic code that I want to auto update when the listbox selection changes
can u please explain a bit more plz
Jan 29 '08 #5

werks
100+
P: 220
If you don't have any knowledge of the subject no need to reply to any question.
Sorry for being noob, i just only want to learn more..
Jan 29 '08 #6

P: 9
Ok, I have a listbox that sources a list of peoples names from a spreadsheet. When the user enters the listbox and clicks on one of these names I want a seperate independant textbox to update with the selected persons name.

I could do this by adding a button and assigning the code to that but I would prefer it to do it automatically every time the selection in the listbox changes
Jan 29 '08 #7

Post your reply

Sign in to post your reply or Sign up for a free account.