View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Sheeloo[_5_] Sheeloo[_5_] is offline
external usenet poster
 
Posts: 248
Default creating a UDF for copy

Try
Function copyCell(rng As Range) As String
copyCell = rng
End Function

but Excel already provides for that
simply say
=A1
in B1
-------------------------------------
Pl. click ''''Yes'''' if this was helpful...



"TG" wrote:

I would like to copy cell A1 to B1 without higlighting the cell and clicking
copy. I would like to use a UDF to copy a cell.


can anyone helomp me?

Thanks in advance,

TG