Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 694
Default Copy contents to another sheet

I can only agree with Gord's comments.

But it is better to use the trigger rather than the isblank and the copy
paste special.

The copy paste special gets messy, using the worksheet_change event in the
worksheet where the data will be entered, not the one where it is to be
copied.

HTH.


--
Hope this helps
Martin Fishlock, Bangkok, Thailand
Please do not forget to rate this reply.


"Gord Dibben" wrote:

Yes

If using Martin's #1. suggestion.

Convert the formulas on sheet2 to values before you delete sheet1

Copy then EditSpecialPaste Special(in place)ValuesOKEsc

If using a macro as in #2 suggestion, the cells are already values so go ahead
and delete sheet1


Gord Dibben MS Excel MVP

On Tue, 4 Mar 2008 15:12:00 -0800, Richard
wrote:

Is there a way to keep the contents on sheet2 after the contents are deleted
from sheet1

"Martin Fishlock" wrote:

Richard:

You can't use a worksheet function to copy the contents from one sheet to
another sheet.

But there are some options:

1. Using =if(isblank(sheet1!a1),"",sheet1!a1)
2. Using a macro that copies the data using a trigger when the cell value is
changed. Have a look at David McRitchie's site for some ideas:
http://www.mvps.org/dmcritchie/excel/event.htm#change.




--
Hope this helps
Martin Fishlock, Bangkok, Thailand
Please do not forget to rate this reply.


"Richard" wrote:

Using a worksheet function how would you copy the contents from say sheet 1
to sheet 2. For example: Sheet1 has a part number in Column a, A qty in
Column b, a date in Column c. Each time a part number, qty and date is
entered paste it to sheet 2 and keep going down each row wherever a new
number is entered. Thanks in advance!



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
how to copy the contents from last cell Lamb Chop Excel Discussion (Misc queries) 2 January 17th 08 01:27 AM
VBA code to copy cell contents from one sheet to another Gimp Excel Worksheet Functions 0 February 23rd 07 05:18 PM
Excel worksheet - Can I make changes in one sheet affect contents of other sheet? [email protected] Excel Discussion (Misc queries) 3 July 11th 06 03:34 PM
copy cell value not contents D Moran Excel Discussion (Misc queries) 2 April 24th 06 03:29 PM
Lookup cell contents in on sheet based on a formula in second sheet Michael Wright via OfficeKB.com Excel Worksheet Functions 1 April 30th 05 04:11 PM


All times are GMT +1. The time now is 12:19 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"