Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 33
Default Appending Text

I am opentext files, copying the current region, and now want to append this
text to the bottom of a master worksheet. I imagine I need to locate the
first empty cell beyond the current region to activate and paste.

Any hints how to do that?

Thanks much, John V

PS To all of you regular contributors: thanks for your volunteer assistance.
Just reading all the posts has helped me a lot.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Appending Text

Dim rng as Range
Set rng = worksheets("Master").Cells(rows.count,1).End(xlup) (2)

rng holds a reference to where you want to paste.

--
Regards,
Tom Ogilvy

"John V" wrote in message
...
I am opentext files, copying the current region, and now want to append

this
text to the bottom of a master worksheet. I imagine I need to locate the
first empty cell beyond the current region to activate and paste.

Any hints how to do that?

Thanks much, John V

PS To all of you regular contributors: thanks for your volunteer

assistance.
Just reading all the posts has helped me a lot.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 33
Default Appending Text

Thanks Tom. For my education, what does the (2) part do?

"Tom Ogilvy" wrote:

Dim rng as Range
Set rng = worksheets("Master").Cells(rows.count,1).End(xlup) (2)

rng holds a reference to where you want to paste.

--
Regards,
Tom Ogilvy

"John V" wrote in message
...
I am opentext files, copying the current region, and now want to append

this
text to the bottom of a master worksheet. I imagine I need to locate the
first empty cell beyond the current region to activate and paste.

Any hints how to do that?

Thanks much, John V

PS To all of you regular contributors: thanks for your volunteer

assistance.
Just reading all the posts has helped me a lot.




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Appending Text

end(xlup) finds the last cell with data. (2) steps down one cell.

--
Regards,
Tom Ogilvy

"John V" wrote in message
...
Thanks Tom. For my education, what does the (2) part do?

"Tom Ogilvy" wrote:

Dim rng as Range
Set rng = worksheets("Master").Cells(rows.count,1).End(xlup) (2)

rng holds a reference to where you want to paste.

--
Regards,
Tom Ogilvy

"John V" wrote in message
...
I am opentext files, copying the current region, and now want to

append
this
text to the bottom of a master worksheet. I imagine I need to locate

the
first empty cell beyond the current region to activate and paste.

Any hints how to do that?

Thanks much, John V

PS To all of you regular contributors: thanks for your volunteer

assistance.
Just reading all the posts has helped me a lot.






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
SUM NUMBERS WITH APPENDING TEXT spidut Excel Discussion (Misc queries) 4 January 14th 07 03:05 PM
Appending Text Jamen McGranahan Excel Discussion (Misc queries) 2 September 11th 06 11:10 PM
appending text to existing values anny Excel Worksheet Functions 3 January 28th 06 06:24 PM
Appending Text to a Cell Value Pappey Excel Worksheet Functions 3 March 26th 05 06:26 PM
Appending Imported Text Files jack[_6_] Excel Programming 1 February 7th 04 11:33 PM


All times are GMT +1. The time now is 11:08 PM.

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

About Us

"It's about Microsoft Excel"