You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
moved checkHiddenExcelInstance into Globals
improved comments and docs
createPivotTable now doesn't need a ExcelVersionForPivot setting, but determines the highest possible version itself.
fixed collectSettings.vbs to get really all settings and sort correctly
sets preventRefresh flag globally or just for the current workbook (if onlyForThisWB is set), similar to clicking the ribbon toggle button "refresh prevention". This setting is not persisted with the workbook!
''' <summary>Clean up after closing workbook, only set flag here, actual cleanup is only done if workbook is really closed (in WB_Deactivate event)</summary>
414
+
''' <summary>Clean up after closing workbook, only set flag here, the actual cleanup is only done if workbook is really closed (in WB_Deactivate event)</summary>
' avoid entering into insert/update check resp. doCUDMarks if not list-object (data table), whole column modified, no DBMapper present and prevention while fetching (on refresh) being set
Copy file name to clipboardexpand all lines: source/ConfigFiles.vb
+20-8
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,7 @@ Public Module ConfigFiles
24
24
PublicspecialFolderMaxDepthAsInteger
25
25
''' <summary>store found sub-menus in this collection</summary>
26
26
PrivatespecialConfigFoldersTempCollAsCollection
27
+
''' <summary>collection structure for the two menu types, one in ribbon (Xelement) and MenuStrip (ToolStripMenuItem, used in AdHocSQL/SQLText context menu)</summary>
27
28
PrivateStructureMenuClassStruct
28
29
DimribbonmenuAsXElement
29
30
DimcontextmenuAsToolStripMenuItem
@@ -147,8 +148,9 @@ Public Module ConfigFiles
147
148
148
149
''' <summary>creates the ribbon config tree menu and the context menu for the AdHocSQL Dialog by reading the menu elements from the config store folder files/sub-folders</summary>
149
150
PublicSubcreateConfigTreeMenu()
150
-
DimcurrentBar,buttonAsXElement
151
-
DimcurrentStripAsNewToolStripMenuItem
151
+
' collecting menu items in
152
+
DimcurrentBarAsXElement' for ribbon
153
+
DimcurrentStripAsNewToolStripMenuItem' for context menu in AdHocSQL/SQLText
152
154
153
155
' also get the documentation that was provided in setting ConfigDocQuery into ConfigDocCollection (used in config menu when clicking entry + Ctrl/Shift)
''' <summary>the event-handler for the context menu entries of the AdHocSQL context menu</summary>
311
+
''' <summary>the event-handler for the context menu entries of the AdHocSQL context menu, used either to show the documentation for the entries or to insert the queries defined in the xcl files</summary>
304
312
''' <param name="sender">the tool-strip menu item that sent the event</param>
0 commit comments