Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 155
Default Copy from Sheet 1 to Last available cell in specified column

Hi there,

In sheet one, i have simulated a userform to enable users to enter data (at
their request). I am trying to find the most efficient method to take the
data entered in specific rows of Sheet 1, and insert into the last available
row of sheet 2.

Any ideas on how i can accomplish this?
--
Carlee
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Copy from Sheet 1 to Last available cell in specified column

You can find the last row in sheet2 with

with worksheets("Sheet2")
set rng = .Cells(rows.count,1).End(xlup)
End with

this assumes there will be data in the first column.

After that it should be copy and insert - something you can easily get with
the macro recorder if you don't already know how.

--
Regards,
Tom Ogilvy


"Carlee" wrote:

Hi there,

In sheet one, i have simulated a userform to enable users to enter data (at
their request). I am trying to find the most efficient method to take the
data entered in specific rows of Sheet 1, and insert into the last available
row of sheet 2.

Any ideas on how i can accomplish this?
--
Carlee

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 396
Default Copy from Sheet 1 to Last available cell in specified column

Hi

It would be something along the lines of

Code:
Sheets("Sheet2").Cells(Rows.Count, 1).End(xlUp).Value = 
ActiveCell.Value
Wigi
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 396
Default Copy from Sheet 1 to Last available cell in specified column

Sorry, contrary to some boards, the code tags can't be used here it seems.
I'll remember for the future ;-)

Wigi

"Wigi" wrote:

Hi

It would be something along the lines of

Code:
Sheets("Sheet2").Cells(Rows.Count, 1).End(xlUp).Value = 
 ActiveCell.Value

Wigi

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
copy rows from one Data sheet to another sheet based on cell conte John McKeon Excel Discussion (Misc queries) 2 May 15th 10 06:49 AM
Copy last cell with data in column E on one sheet to cell on anoth Seahawk Excel Worksheet Functions 7 May 7th 09 02:52 AM
How to search column, copy row, and copy to another sheet in same Rockhound Excel Discussion (Misc queries) 1 December 9th 06 04:16 PM
how to make one column copy from one sheet to anoth column w/o zer areezm Excel Discussion (Misc queries) 3 June 6th 06 10:45 PM
Copy column from one sheet to another Jacquie Excel Discussion (Misc queries) 1 December 5th 05 09:57 PM


All times are GMT +1. The time now is 01:42 AM.

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"