=HYPERLINK("#"&A1&"!"&"S1",A1)
參考連結:
https://kknews.cc/zh-tw/tech/3x4egg.html
另外也可透過cell參數"filename"來取得當前檔案所在路徑來連結檔案。例如:
=LEFT(CELL("filename",A1),FIND("[",CELL("filename",A1))-1)
參考連結:
https://www.ptt.cc/bbs/Office/M.1468241550.A.CF4.html
=HYPERLINK("#"&A1&"!"&"S1",A1)
=LEFT(CELL("filename",A1),FIND("[",CELL("filename",A1))-1)
=today()-mod(today(),7)+9