Thread: active sheet
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
John Coon John Coon is offline
external usenet poster
 
Posts: 9
Default active sheet

Ron,

I added the Set wkbObj = ExcelApp.ActiveWorkbook but it return a 0 for calc
in textbox1
The excel file only has two colnums A & B see below. When I subsitute a
hard path = Set wkbObj =
workbooks.Open(Filename:="c:\vba\sample\costing.xl s")
the routines works fine. ? Why or how do I get this to read costing.xls
which will be the currently open and have it read the values in colnum A &
B.