Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Does any one knows why this is not working?
Private Sub ComboBox1_Change() if me.combobox1.value = "value1" then With Me.ComboBox1.TopLeftCell ..Offset(0, 5) = "NIN" ..Offset(0, 6) = "NOUT" ..Offset(0, 7) = "IND" ..Offset(0, 8) = "TITLE" ..Offset(0, 9) = "CASE" End With else With Me.ComboBox1.TopLeftCell ..Offset(0, 5) = "something" ..Offset(0, 6) = "else" ..Offset(0, 7) = "more" ..Offset(0, 8) = "ofmy" ..Offset(0, 9) = "stuff" End With End Sub Any Help Greatly appreciated. Do I need an End If somewhere? |
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 |