LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Problem with function creation


Please help me, my question is the following:
How can i create a function in Excel/VBA which copy the value in a cell
that is not the cell in which the function is executed and paste this
value in another cell?

I tried the following:

function transfer(cell1,cell2)
range("cell1").select
selection.copy
range("cell2").select
activesheet.paste
end function

But i got no success, please help me


--
terminator_ba
------------------------------------------------------------------------
terminator_ba's Profile: http://www.excelforum.com/member.php...o&userid=35511
View this thread: http://www.excelforum.com/showthread...hreadid=552826

 
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
Formula Creation via Add-in problem Bill Schanks Excel Programming 1 February 10th 06 12:02 AM
Problem with chart creation. daniel chen Charts and Charting in Excel 3 January 11th 06 04:00 AM
Problem with chart creation daniel chen Excel Discussion (Misc queries) 2 January 8th 06 06:27 PM
Ultimate circular problem for chart creation nick g Excel Discussion (Misc queries) 1 July 26th 05 01:18 PM
Automatic Number Creation Problem? Corp Excel Worksheet Functions 1 April 6th 05 06:19 AM


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