Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Greetings,
I'm using office 2003 in Excel VBA. ActiveCell.Offset() is used to write to various cells, moving along columns, in another sheet, ie. write to cell B1, then C1, then D1, etc. This works well. The problem I have is I then try to set the active cell to the next row on column A, but get an error msg. I do not want to using ActiveCell.Offset() cause I do not know how many columns I wrote to (I could find out, but that defeats the purpose of understanding the issue). I tried various statements, all giving me an error msg: Range("'" & sheetName & "'!B1").Value = "NEW VALUE HERE" or Range("A1").Value = "NEW VALUE HERE" This does not give me an error msg, but jumps 6 rows down from where the current active cell is: ActiveCell.Range("A6").Select Any help is greatly appreciated... CG |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
hard time with If InStr(1, .. | Excel Programming | |||
time sheets giving a minus | Excel Discussion (Misc queries) | |||
ActiveCell giving blank value | New Users to Excel | |||
ActiveCell giving blank value in vbscript | Excel Worksheet Functions | |||
Name of shape giving VB run-time error | Excel Programming |