Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am getting an error when rng.Select is inserted into the following code:
If IsEmpty(Range("b9")) Then MsgBox "No record found in B9.", vbInformation Else lngLastRow = Cells(Rows.Count, "B").End(xlUp).Row ' + 1 If lngLastRow <= 10 Then Range("B10").Value = Range("B9").Value Else Cells(lngLastRow, "B").Value = Range("B9").Value rng.Select End If End If How should this be included without the code falling over. Thank you if you can be of help. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Application Event Procedure <Falling Over | Excel Programming | |||
Rising / falling points Macro Help | Excel Programming | |||
why is the zero falling off a zip code in excel? | Excel Worksheet Functions | |||
Formula falling over in more than one cell | Excel Worksheet Functions | |||
Falling within a range | Excel Discussion (Misc queries) |