Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Well, it seems to work just fine on my box (but that's what you'd expect,
isn't it?) Have you tried breaking into the VBA code and see exactly when the crash occurs (put a breakpoint on e.g. the first line after the If statement)? Or don't you even get that far? /MP "Daves_Solutions" wrote: Everytime I run the following procedure excel crashes. Private Sub cmbDesc_KeyDown(ByVal KeyCode As MSForms.ReturnInteger, ByVal Shift As Integer) If KeyCode = 9 Then NewInventory.Cells(9, 4) = cmbDesc.Text cmbDesc.Visible = False NewInventory.Cells(9, 5).Select End If End Sub I have several other procedures that are similar that run fine. All I am trying to do is send the focus to the next cell in an invoice that I created from an embedded combo box. Any suggestions or help would be greatly appreciated. Thank you in advance for your time. Dave |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Is there a simple procedure to hide rows if a condition is met | Excel Discussion (Misc queries) | |||
Simple recorded macro crashes on playback. Why? | Excel Programming | |||
Is there a simple procedure to set my macros in Excel 2003 to be . | New Users to Excel | |||
Simple code crashes Excel | Excel Programming | |||
Help 'splain unusual behavior in simple procedure | Excel Programming |