Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 238
Default List Box - part 2

On Dec 5, 12:23 pm, "Rick Rothstein"
wrote:
Don't use a CellLink (assuming that is what you are currently doing);
rather, assign the ListBox to use this macro instead...

Sub AssignListItemToCell()
With Worksheets("Sheet1").Shapes("List Box 1").OLEFormat.Object
Range("A1").Value = .List(.ListIndex)
End With
End Sub


Thanks Rick, this works great.
I have input range A1 to A10 selected. I want to access data in the
next column. How can this be done? TIA
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Display part of list dependant on Validation list selection Jules73 Excel Worksheet Functions 0 August 12th 09 02:21 PM
How to populate part of a list dj479794 Excel Discussion (Misc queries) 2 July 2nd 07 10:10 AM
Reordering part of a list with VBA [email protected] Excel Worksheet Functions 3 April 16th 07 03:22 AM
Count if criteria is part of list partyof4 Excel Discussion (Misc queries) 4 October 12th 06 01:34 AM
Cycle through a list (Part 2) Pete Excel Programming 2 December 19th 03 07:34 PM


All times are GMT +1. The time now is 04:02 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"