Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default now that i got the posting to work

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,311
Default now that i got the posting to work

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default now that i got the posting to work

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,311
Default now that i got the posting to work

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
posting Sam Excel Discussion (Misc queries) 3 February 23rd 10 05:03 PM
[OT] posting tomek gomek Excel Worksheet Functions 24 July 28th 07 03:16 AM
please help someone (again posting) Tufail Excel Programming 1 July 5th 06 04:29 AM
the owner of posting should be able to delete the posting Mahendra Excel Discussion (Misc queries) 7 August 8th 05 07:21 PM
Posting in the next row Greg Excel Worksheet Functions 1 January 18th 05 08:57 PM


All times are GMT +1. The time now is 11:26 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"