Home |
Search |
Today's Posts |
#2
![]() |
|||
|
|||
![]()
Hi,
Add a Combobox to your sheet and add a following code: Private Sub Worksheet_SelectionChange(ByVal Target As Range) If Target.column = 11 Then ActiveSheet.Shapes("Combobox1").Left = Target.Left ActiveSheet.Shapes("Combobox1").Top = Target.Top End If End Sub Hope this helps. Peter -- http://blog.jausovec.net "gupt" je napisal: hi, i'm totally new to excel and writing macros and code for it. i need to create a file which will allow the users to click on the 11th column on any row and select a value from the combobox that appears in that cell on clicking. the combobox will only appear if it is the 11th column. i plan to create one combobox and make it invisible when the file is loaded. it will become visible in row the user clicks (only if the col = 11). i want to use VBA for this. but i have no clue how to! any help will be greatly appreciated! thanks!! gupt -- gupt ------------------------------------------------------------------------ gupt's Profile: http://www.excelforum.com/member.php...o&userid=24067 View this thread: http://www.excelforum.com/showthread...hreadid=376700 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Password for excel sheet | Excel Discussion (Misc queries) | |||
Starting MS Excel with a worksheet other than SHEET 1 | Excel Worksheet Functions | |||
Creating GIFs in Excel 2003 for use in Dreamweaver | Charts and Charting in Excel | |||
How do I duplicate a sheet 20 times in an excel spreadsheet | Excel Worksheet Functions | |||
Hyperlink to specific sheet in Excel Web File | Links and Linking in Excel |