#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default Copying

Having sorted my previous problem, I now need to know how to copy just the
result of a formula to a new cell and not the actual formula.

I am using this line :

Worksheets("CURRENT").Range("B1").Copy _
Destination:=Worksheets("Balance Order Form").Cells(Rownumber, 1)

but that copies the formula in cell B1 of sheet "CURRENT" not the result of
the formula... so obviously if the details that are referred to in the
formula change then so does what has been copied, whereas once it's copied I
need the result to then be unchangeable.

Any ideas?

Thanks

Phil
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 81
Default Copying

Copy and Paste Special in seperate operations. eg...

Selection.Copy
Sheets("Sheet2").Select
Range("A3").Select
Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone,
SkipBlanks:= _
False, Transpose:=False

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default Copying

Thanks Donna (and thanks Tom, although I used Donna's as she was there first!)

My colleagues all think I'm some kind of Excel genius now... I'm not gonna
tell them it's you guys who are the real geniuses!

Many thanks

Phil

" wrote:

Copy and Paste Special in seperate operations. eg...

Selection.Copy
Sheets("Sheet2").Select
Range("A3").Select
Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone,
SkipBlanks:= _
False, Transpose:=False


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 81
Default Copying

Defoes...you ought to use Toms......it's a better way of doing it.

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default Copying

Done it now using yours and it works... so not really worth changing it!

Phil

" wrote:

Defoes...you ought to use Toms......it's a better way of doing it.




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Copying

Worksheets("Balance Order Form").Cells(Rownumber, 1).Value = _
Worksheets("CURRENT").Range("B1"),Value



--
Regards,
Tom Ogilvy

"Defoes Right Boot" wrote in
message ...
Having sorted my previous problem, I now need to know how to copy just the
result of a formula to a new cell and not the actual formula.

I am using this line :

Worksheets("CURRENT").Range("B1").Copy _
Destination:=Worksheets("Balance Order Form").Cells(Rownumber, 1)

but that copies the formula in cell B1 of sheet "CURRENT" not the result

of
the formula... so obviously if the details that are referred to in the
formula change then so does what has been copied, whereas once it's copied

I
need the result to then be unchangeable.

Any ideas?

Thanks

Phil



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
copying row nishkrish Excel Discussion (Misc queries) 2 October 23rd 09 08:42 AM
copying excelguy[_2_] Excel Discussion (Misc queries) 1 October 21st 09 10:42 PM
Copying hassan el touby Excel Discussion (Misc queries) 6 January 8th 08 05:48 PM
copying the Hyperlink function result without copying the actual formula mcheng Excel Worksheet Functions 2 June 9th 07 02:43 AM
Copying data down to next dirty cell, then copying that data slarson Excel Programming 0 September 15th 03 09:19 PM


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