im using office 365 with windows 10. i want to link 2 compiled exe files. i try to add companion file but. companion files cant save i gues. and not prefer companion files for security.
i use both of excels =PLEvalVar(“XLSPath”) formula to learn virtual location. and force to update current connection links with this code:
it didint work (i unchecked “do not allow loadinf/saving other…” option when i compile ). i didint use any formula protection option too.
to understand how to links works ; i try to copy 1 cell to another excel and paste special as link.
i saw this array formula:
{=Excel.SheetMacroEnabled.12|‘k:\Office\H4PTK\filename1.xlsm’!’!sheet1!R5C3’}
How can I solve this issue?
ps: same issue link a excel file (not compiled) to exe file(compiled)
i use both of excels =PLEvalVar(“XLSPath”) formula to learn virtual location. and force to update current connection links with this code:
Code:
Dim wbTrg As Workbook
Dim sLinkNew As String
Dim aLinks As Variant, vLink As Variant
sLinkNew = Range("D2").Value & "filename1.xlsm"
Set wbTrg = ThisWorkbook
aLinks = ActiveWorkbook.LinkSources(xlExcelLinks)
If Not IsEmpty(aLinks) Then
For Each vLink In aLinks
wbTrg.ChangeLink Name:=vLink, NewName:=sLinkNew, Type:=xlExcelLinks
Next: End If
to understand how to links works ; i try to copy 1 cell to another excel and paste special as link.
i saw this array formula:
{=Excel.SheetMacroEnabled.12|‘k:\Office\H4PTK\filename1.xlsm’!’!sheet1!R5C3’}
How can I solve this issue?
ps: same issue link a excel file (not compiled) to exe file(compiled)
Last edited: