I have a cell range which can contain hyperlinks to other excel datas. Hyperlink in a cell](https://i.stack.imgur.com/mH7Wc.png)
I need to get a specific cell in a specific worksheet of that hyperlink. I just do not know how to reach that cell.
Does someone know the syntax for this problem? Is this even possible?
I did not know how to get that specific cell, so I tried pulling the worksheet at first like this: AktiveWorkbook.Sheets.Add Before:=c.Hyperlinks.Application.Worksheets(1)
The best option would be that I do not even have to pull the worksheet, but as I said i do not have a clue.
Answer to the comment:
I am in a workbook, where you can find in the A1 the value "C:\Users\z0\Downloads\GG.xlsm", which is the path of the a closed workbook. I try to get as example the A1 cell of Sheet1 of the closed workbook and paste the value to lets say B1 in the workbook where you can also find the path.
I already tried this:
Dim wb As Workbook: Set wb = ThisWorkbook
Dim sh As Worksheet: Set sh = wb.Worksheets(1)
Dim cell As Range: Set cell = sh.Range("A1:A1000")
Dim pth As String
Dim qafWb As Workbook
pth = Replace(Range("A1").Value, "\", "/")
qafWb = Workbooks(pth)
sh.Range("B2") = qafWb.Worksheets(1).Range("G13")
The compiler is saying that the variable qafWb does contain "nothing"
I hope that I was able to express my needs :)
Thank you in advance
Write Formula Using 'Hyper' Cell (VBA)
It is assumed that the formula in the 'hyper' cell is something like