From 5b1333b8c10f131718c69e47bccacda61a2f2466 Mon Sep 17 00:00:00 2001 From: PhilRunninger Date: Mon, 1 Apr 2024 17:52:02 -0400 Subject: [PATCH] Add file location of current workbook to obselescence message. This is to help the user know where a functioning workbook (the one they're currently in) needs to be located to continue working. --- Master Template.xlsm_EXPORTS/HttpHandler.bas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Master Template.xlsm_EXPORTS/HttpHandler.bas b/Master Template.xlsm_EXPORTS/HttpHandler.bas index 4e9c9bf..1754842 100644 --- a/Master Template.xlsm_EXPORTS/HttpHandler.bas +++ b/Master Template.xlsm_EXPORTS/HttpHandler.bas @@ -40,7 +40,7 @@ Function makeHttpRequest(method As String, route As String, doc As String, ByRef ' This is a poor man's self-upgrade mechanism for this application. If Mid(wr, 1, 24) = "Obsolete client workbook" Then - If MsgBox("Your workbook is an older version and needs to be upgraded. Download now? This workbook will be closed so your download can overwrite it.", vbYesNo + vbQuestion) = vbYes Then + If MsgBox("Your workbook is an older version and needs to be upgraded. Download now? This workbook will be closed so your download can overwrite it. To ease the transition, save the downloaded file in the same location as this one: " & vbCrLf & vbCrLf & ActiveWorkbook.FullName, vbYesNo + vbQuestion) = vbYes Then ActiveWorkbook.FollowHyperlink server & "/template" ActiveWorkbook.Close False Else