Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
Is it possible to copy a created combobox and paste it in another cell so
that cell link is changed too? Example: I have combo box in A1, cell link pointing to B1. I want to copy the cbox to cell A2 and the cell link to point to B2. Asking this because I need to copy 100 combo boxes... Thanks in advance |
#2
![]() |
|||
|
|||
![]()
I don't believe so; you will need a macro. Something like:
Sub Test() Dim cbo As OLEObject For Each cbo In ActiveSheet.OLEObjects If TypeOf cbo.Object Is msforms.ComboBox Then cbo.LinkedCell = cbo.TopLeftCell.Offset(, 1).Address End If Next End Sub -- Vasant "Bojana" wrote in message ... Is it possible to copy a created combobox and paste it in another cell so that cell link is changed too? Example: I have combo box in A1, cell link pointing to B1. I want to copy the cbox to cell A2 and the cell link to point to B2. Asking this because I need to copy 100 combo boxes... Thanks in advance |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
SQL - Auto Refresh Upon Cell Value Change | Excel Worksheet Functions | |||
Copy cells into range of cells until cell change | Excel Worksheet Functions | |||
copy a number typed in a cell to another & change it to word form. | Excel Discussion (Misc queries) | |||
Automatically change tab reference | Excel Discussion (Misc queries) | |||
copy paste cell character limit | Excel Discussion (Misc queries) |