Thread: Usedrange
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Terry VanDuzee Terry VanDuzee is offline
external usenet poster
 
Posts: 10
Default Usedrange

Hello
How can I get the usedrange from a sheet in a closed workbook?

This is how I am getting the values:

With ActiveSheet.Range(cellrange)
.FormulaArray = "='" & fpath & "\[" & fname & "]" _
& sname & "'!" & cellrange
End With

Where cellrange right now is a variable that contains a range that is
hardcoded. I want to be able to find the usedrange in the closed workbook,
to pass it as a variable to this sub from the calling sub.


Thank you
Terry V