Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
SUM NUMBERS WITH APPENDING TEXT | Excel Discussion (Misc queries) | |||
Appending Text | Excel Discussion (Misc queries) | |||
appending text to existing values | Excel Worksheet Functions | |||
Appending Text to a Cell Value | Excel Worksheet Functions | |||
Appending Imported Text Files | Excel Programming |