Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
okay..now i know how to take text content and add it to cells.
i need the Sheets("blah").Range("A1") to change cells to the next row. how would i go about doing that? in other words...i need it to write to cell A1, then A2 the next time enter is pushed, A3, the third time, etc... thanks! john |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If "blah" is your active sheet and Cell A1 is the active cell and starting
point, then you may try using: ActiveCell.Value = "text" ActiveCell.Offset(1, 0).Select If you always want the next empty cell in column A, then you may try something like: ActiveSheet.Range("A65536").End(xlUp).Offset(1, 0).Select HTH, Paul "unclescrooge" wrote in message ups.com... okay..now i know how to take text content and add it to cells. i need the Sheets("blah").Range("A1") to change cells to the next row. how would i go about doing that? in other words...i need it to write to cell A1, then A2 the next time enter is pushed, A3, the third time, etc... thanks! john |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Mar 6, 11:54 am, "PCLIVE" wrote:
If "blah" is your active sheet and Cell A1 is the active cell and starting point, then you may try using: ActiveCell.Value = "text" ActiveCell.Offset(1, 0).Select If you always want the next empty cell in column A, then you may try something like: ActiveSheet.Range("A65536").End(xlUp).Offset(1, 0).Select HTH, Paul "unclescrooge" wrote in message ups.com... okay..now i know how to take text content and add it to cells. i need the Sheets("blah").Range("A1") to change cells to the next row. how would i go about doing that? in other words...i need it to write to cell A1, then A2 the next time enter is pushed, A3, the third time, etc... thanks! john- Hide quoted text - - Show quoted text - Hi Paul, Thanks, just so I'm clear... after the Sheets("blah").Range("A1") = textbox.Value i would add the ActiveCell.Value = "text" ActiveCell.Offset(1, 0).Select portion to the coding? thank you again! john |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try this:
Sheets("blah").Range("A" & ActiveCell.row + 1).Select Selection = textbox.Value "unclescrooge" wrote in message ups.com... On Mar 6, 11:54 am, "PCLIVE" wrote: If "blah" is your active sheet and Cell A1 is the active cell and starting point, then you may try using: ActiveCell.Value = "text" ActiveCell.Offset(1, 0).Select If you always want the next empty cell in column A, then you may try something like: ActiveSheet.Range("A65536").End(xlUp).Offset(1, 0).Select HTH, Paul "unclescrooge" wrote in message ups.com... okay..now i know how to take text content and add it to cells. i need the Sheets("blah").Range("A1") to change cells to the next row. how would i go about doing that? in other words...i need it to write to cell A1, then A2 the next time enter is pushed, A3, the third time, etc... thanks! john- Hide quoted text - - Show quoted text - Hi Paul, Thanks, just so I'm clear... after the Sheets("blah").Range("A1") = textbox.Value i would add the ActiveCell.Value = "text" ActiveCell.Offset(1, 0).Select portion to the coding? thank you again! john |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
posting | Excel Discussion (Misc queries) | |||
[OT] posting | Excel Worksheet Functions | |||
please help someone (again posting) | Excel Programming | |||
the owner of posting should be able to delete the posting | Excel Discussion (Misc queries) | |||
Posting in the next row | Excel Worksheet Functions |