View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Robert Rosenberg[_2_] Robert Rosenberg[_2_] is offline
external usenet poster
 
Posts: 24
Default Copy only bumbers from cells

Your code should work unless you're looking to pull out numbers that are
embedded as part of a formula. I have a SUM function in A1 and when I run
your code it places the value (not the formula) in cell B1.

Can you provide a little more detail?
_______________________
Robert Rosenberg
R-COR Consulting Services
Microsoft MVP - Excel

"Antonis" wrote in message
...
Hi I am using this code to copy cell A1 to cell B1

Range("B1").Value = Range("A1").Value

How can I copy only the numbers inside the cell without
copying any functions or formulas insideit?

Thanks for your help