Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

referencing a particular cell

Status
Not open for further replies.

sanjna000

Programmer
Aug 1, 2003
132
GB
Hi,

I need to reference a particular cell in a different worksheet. I used following code but it doesn't seem to be working.

ActiveSheet.Cells(invTotal_rno, invTotal_cno).Select
ActiveCell.FormulaR1C1 = "=Sheets(1)!N24"

What i want here is, i need to copy the same value in Sheets(1)! N24 to the current sheet Cells(invTotal_rno, invTotal_cno).

Can anyone help me with that?

Thanks a lot for u r help in advance.
Sanjna...
 
Just the value

ActiveSheet.Cells(invTotal_rno, invTotal_cno).Value = Sheets("Sheet2").Range("N24").Value

----------------------------------------------------------------------------
[peace]It's easier to beg forgiveness than ask permission[2thumbsup]

----------------------------------------------------------------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top