PDA

View Full Version : Solved: is that possible to copy from any text of listview to textbox



Nader
03-06-2008, 05:40 PM
I'm using listview on the Userform with textbox
is that possible when I click on any text of any columns of Listview it will copy to texbox.

Simon Lloyd
03-07-2008, 03:05 AM
Nader, if you must cross post please be decent enough to supply the link to the other post, please read my link on cross posting!

Cross Posted here (http://www.mrexcel.com/forum/showthread.php?t=307629)

Nader
03-07-2008, 03:17 AM
I read the articel about cross post. it wans't so clearl to me
so I'll tell you waht I understand:
make a new post in the mrexcel forum - then include in the new psot the link of this post.(on the Vbaexpress) and ask the people to post their replies in the original forum. (Vbaexpress).
is this true..

Simon Lloyd
03-07-2008, 03:36 AM
No!, if you want to post in other forums thats fine, but if you post in more than one then supply a link to the other posts, that way people will be able to see how far you have got at other forums and not waste thier valuable free time just arriving at the same conclusion, posting a link to other posts helps with collaboration and will get you the solution faster!

Nader
03-07-2008, 04:34 AM
Oky. Thank you

Nader
03-07-2008, 04:51 AM
Here is the soultion for my question.


TextBox1.Text = ListView1.SelectedItem.Text 'For first column
TextBox2.Text = ListView1.SelectedItem.SubItems(1) ' second
TextBox3.Text = ListView1.SelectedItem.SubItems(2) ' Third