Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Yes, you're missing an End If!
You could try this: Private Sub ComboBox1_Change() With Me.ComboBox1.TopLeftCell If Me.ComboBox1.Value = "value1" Then .Offset(0, 5) = "NIN" .Offset(0, 6) = "NOUT" .Offset(0, 7) = "IND" .Offset(0, 8) = "TITLE" .Offset(0, 9) = "CASE" Else .Offset(0, 5) = "something" .Offset(0, 6) = "else" .Offset(0, 7) = "more" .Offset(0, 8) = "ofmy" .Offset(0, 9) = "stuff" End If End With End Sub hth Garry |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
split post code (zip code) out of cell that includes full address | Excel Discussion (Misc queries) | |||
Shorten code to apply to all sheets except a few, instead of individually naming them, and later adding to code. | Excel Programming | |||
Protect Sheet with code, but then code will not Paste error. How do i get around this. Please read for explainations.... | Excel Programming | |||
Excel code convert to Access code - Concat & eliminate duplicates | Excel Programming | |||
stubborn Excel crash when editing code with code, one solution | Excel Programming |