Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel VBA links to other files

Status
Not open for further replies.

ChristianDK

Programmer
May 31, 2007
18
DK
Hello

Im trying to link to 125 other Excel files based on input from cells

Sub Link()
For i = 1 To ActiveWorkbook.Sheet.Rows.Count
Range("Sheet1!B(i)") = "D:\Documents and Settings\New Folder\Range" & ("Sheet1!B1") & Range("Udtrækrapportpakker!B1")
Next
End Sub

Im i totally off?
Hope someone can help me out
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top