Getting a Cell Value from another workbook

  • Thread starter Thread starter techmoney
  • Start date Start date
T

techmoney

Will you please help me

I'm having a hard time declaring a variable from a cell value, from
from another workbook.

Dim iMax As Integer

iMax = Cell.Value(workbook.["Plans.xls"].Sheet("Nov").Range("c1"))

Thanks in advance
 
Dim iMax As Integer

iMax = Workbooks("Plans.xls").Worksheets("Nov").Range("c1").Value


--

HTH

RP
(remove nothere from the email address if mailing direct)
 

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