Commit Graph

12 Commits

Author SHA1 Message Date
PhilRunninger
2df666a44f Allow getting the list of changes for director or segment pools. 2024-04-01 17:48:45 -04:00
PhilRunninger
2c46764be2 Updating the binary files recently changed. 2024-04-01 12:24:43 -04:00
PhilRunninger
1505221961 Limit who can use the Shipments sheet. 2024-04-01 12:24:14 -04:00
PhilRunninger
1cf13e4f57 Fix rounding of percent change. 2024-04-01 12:22:50 -04:00
PhilRunninger
9933e66c77 Add code to do ship_date shifting. Workbook changes not finished yet. 2024-04-01 03:14:44 -04:00
PhilRunninger
22c2375f44 Add a mechanism to self-upgrade the workbook.
It's not completely seamless, but it should work adequately well. The
workbook (aka client) inserts the workbook version into the http request
body. The server code compares that version number against its minimum
supported client version.

If the client is too old, an error message is sent back to the client.

When the client receives the "Obsolete" error message, it launches the
https://<server>:<port>/template URL in the default browser, which
enables the user to save the downloaded new workbook file.
2024-03-22 18:33:04 -04:00
PhilRunninger
2454393a1d DRY up the WinHttpRequest calls. One sub now does it all.
Instead of having multiple locations with the same code, the web
interface code now lives in its own module, and is called from multiple
locations.
2024-03-20 17:21:08 -04:00
PhilRunninger
aa13911c02 Make the VBA handle pivot fields in the filters section.
Tread the PivotTable filters the same as the row headers, making them
part of the WHERE clause in the SQL statement.
2024-03-19 16:21:18 -04:00
PhilRunninger
4c1584af3d Restore the BASIS and BASELINE lists, removing "baseline" from them.
There were too many other locations that needed to be found and changed,
that it was easier to just do:
    update osm_pool set iter='plan' to iter='baseline'
and be done with it. I also informed Jim to make the same change in his
baseline creation scripts.
2024-03-18 21:24:28 -04:00
PhilRunninger
b73403aef7 Preselect the tag on the Month View sheet if there's only one. 2024-03-15 13:17:09 -04:00
PhilRunninger
b10a3ac655 Add a function to treat 1x1 ranges as an array, not a scalar value.
The Range.Value function does not consistently return a 2-D array. If
the range is a single cell, it returns just the value in that cell. When
initializing a Userform listbox, it needs to be an array, so this
function was born.
2024-03-15 10:09:56 -04:00
PhilRunninger
337f5425e2 Save the exported VBA code in the repo. This is its initial commit. 2024-03-13 08:55:39 -04:00