Set reference to other sheet?

  • Thread starter Thread starter HotRod
  • Start date Start date
Hi
dim rng as range
set rng = worksheets("mysheet5").range("A5")
msgbox rng.value
 
Hi HotRod;

You can use this:

Sheets("MySheet5").Range("A1") = "HotRod"

Thanks,

Greg
 
Sorry I asked this question in the wrong group. I was wondering how to add
an reference in excel, not in VBA. SORRY
 
Hi
then what do you mean with 'add a referece'? Maybe
='my sheet5'!A5
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top