Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Copy a Value Q
How could I copy a value that is created after running some code in to
a certain cell? My details are I run some existing code, this produces a new sheet and a value appears in this new sheet in cell A2, this value I wish to copy-paste special-values to Sheet1 B4 My new sheet is renamed to spmething unique each time but it will always be created just to the right of Sheet1 Thanks |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Copy a Value Q
Seanie,
At the point at which you write the value to A2 in the 'new' sheet you could do it then with Range("A2").Copy Sheets("sheet1").Range("B4").PasteSpecial , Paste:=xlPasteValues Mike "Seanie" wrote: How could I copy a value that is created after running some code in to a certain cell? My details are I run some existing code, this produces a new sheet and a value appears in this new sheet in cell A2, this value I wish to copy-paste special-values to Sheet1 B4 My new sheet is renamed to spmething unique each time but it will always be created just to the right of Sheet1 Thanks |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Copy a Value Q
Thanks Mike, that should do it
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Copy and paste versus copy and insert copied cells | New Users to Excel | |||
A visual basic value copy BUG?? - accounting format has copy problem!! | Excel Programming | |||
Copy/Paste how to avoid the copy of formula cells w/o calc values | Excel Discussion (Misc queries) | |||
copy formulas from a contiguous range to a safe place and copy them back later | Excel Programming | |||
EXCEL FILE a copy/a copy/a copy ....filename | New Users to Excel |