mzpedersen
New Member
- Joined
- Mar 20, 2013
- Messages
- 1
Our shipping department creates an Excel workbook per job/project. Each job has a varying number of shipments. Shipping will add a new sheet with the details for every shipment - everytime a shipment goes out.
The naming of the sheets varies and the number of sheets varies as the job progresses.
How can I from another Excel workbook extract the names of the sheets and the number of sheets (shipments)?
Something like
For i:=0 to ('[Job2122.xlsx]NoOfSheets'!)-1 do begin
Value := '[Job2122.xlsx]Sheet'!$C$1 (** for example to extract and create a list of shipping dates **)
End
In other words indirect addressing of a specific cell for an unknown number of sheets with unknown names, unknown from an external point of view?
Thanks in advance,
mzpedersen
The naming of the sheets varies and the number of sheets varies as the job progresses.
How can I from another Excel workbook extract the names of the sheets and the number of sheets (shipments)?
Something like
For i:=0 to ('[Job2122.xlsx]NoOfSheets'!)-1 do begin
Value := '[Job2122.xlsx]Sheet'!$C$1 (** for example to extract and create a list of shipping dates **)
End
In other words indirect addressing of a specific cell for an unknown number of sheets with unknown names, unknown from an external point of view?
Thanks in advance,
mzpedersen