Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
For the sub below, instead of msgbox, I would like to write
all results into say, B2 down on the sheet. How? Thanks. Sub findmissingnumbersinlist() mc = 1 'for col A For i = 2 To Cells(Rows.Count, mc).End(xlUp).Row - 1 If Cells(i + 1, mc) < Cells(i, mc) + 1 Then MsgBox "Missing " & Cells(i, mc) + 1 & " at row " & i + 1 End If Next i End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to write a macro to modify an Excel chart | Charts and Charting in Excel | |||
Wanting to write results to array instead of sheet, results overwriting.... | Excel Programming | |||
Showing Search results in msgbox? | Excel Programming |