Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I have the following code linked to a userform: Code: -------------------- Private Sub CommandButton1_Click() With ActiveSheet If Me.OptionButton1 = True Then .Range("d12").EntireColumn.Insert Else .Range("f12").EntireColumn.Insert End If End With End Sub Private Sub OptionButton1_Click() Me.OptionButton1.Value = True End Sub -------------------- I have added a description field to my userform. This field is to add a title to the newly created column. What do I need to add to this code to copy the title out of the description of the userform and place it into 'row 11 ' of the column the code above inserts? -- oberon.black ------------------------------------------------------------------------ oberon.black's Profile: http://www.excelforum.com/member.php...o&userid=26732 View this thread: http://www.excelforum.com/showthread...hreadid=401851 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
baby | Excel Discussion (Misc queries) | |||
Baby stuff I know-if | Excel Discussion (Misc queries) | |||
Baby Sleep log | Charts and Charting in Excel | |||
baby charts | Excel Discussion (Misc queries) | |||
Baby steps..... | Excel Discussion (Misc queries) |