Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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! |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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! |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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! |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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! |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how to copy the contents from last cell | Excel Discussion (Misc queries) | |||
VBA code to copy cell contents from one sheet to another | Excel Worksheet Functions | |||
Excel worksheet - Can I make changes in one sheet affect contents of other sheet? | Excel Discussion (Misc queries) | |||
copy cell value not contents | Excel Discussion (Misc queries) | |||
Lookup cell contents in on sheet based on a formula in second sheet | Excel Worksheet Functions |