Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am using this function
Private Sub Workbook_BeforePrint(Cancel As Boolean) Dim AllCells As Range Dim rng As Range Sheets("Factuur").Select Range("a21").Select rijnummer = ActiveCell.Row Do While Not IsEmpty(ActiveCell) ActiveCell.Offset(0, 1).Select If IsNumeric(ActiveCell.Value) Then rijnummer = ActiveCell.Row + 1 End If Loop I have no clue but nor rage("a21") nor activecell.offset seems to work. Has anyone a idear what i am doin wrong? Thanks Hans |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
ActiveCell.Offset Question | New Users to Excel | |||
If activecell.column = variable then activecell,offset (0,1) | Excel Discussion (Misc queries) | |||
Sum Activecell Offset Problem | Excel Worksheet Functions | |||
ActiveCell.Offset w/ VBA | Excel Programming | |||
activecell offset | Excel Programming |