I am trying to write VBA-code to import data from another document, but I have very limited experience with VBA so I wonder if anyone could help me. What I want to do is somethink like this:
..so the value/name from cell A1 in document x.xls is returned in my spreadsheet. x refers to a cell in my spreadsheet with the name of the file in the datafolder.Function ImportDataFromCell(x) ImportDataFromCell ='C:\project\data\[x.xls]sheet1'!$A$1 Function end
Bookmarks