Hej,
I like to copy some cells from a document I hyperlinked in my original document. The following code is working perfect:
But I want to replace the concrete name of the document by something like![]()
Sub Perfect () With Range("A1:A3") .Formula "='hyperlinkedFile.xlsx'!A1" .Value = .Value End With End Sub
to use it in![]()
Dim File As String File = ActiveCell.Text (or so)
But this is not working. Who knows the solution? :-)![]()
.Formula "='File'!A1"
I'm really glad for help
Regards
Monica
Bookmarks