How do I check cells using index in Add-In

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am having problems referencing cells in an Add-in sheet. Writing to and
from an exact reference is AOK using
Application.Range("'[Filename]Sheet'!$A$10").Value command, but how do I do
this if i would normally use something like Worksheets("Sheet1").Cells(i,j)
command?

Thanks in Advance

Damian Lee
 
workbooks("filename.xls").worksheets("sheet1").range("a10")
or
workbooks("filename.xls").worksheets("sheet1").cells(10,1)



should work.

Note that you don't include the path in this.
I am having problems referencing cells in an Add-in sheet. Writing to and
from an exact reference is AOK using
Application.Range("'[Filename]Sheet'!$A$10").Value command, but how do I do
this if i would normally use something like Worksheets("Sheet1").Cells(i,j)
command?

Thanks in Advance

Damian Lee
 

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