In Excel VBA we can use the WindowState enumeration to get the current state of a given window
xlNormal = -4143
xlMaximized = -4137
xlMinimized = -4140
When I ask for the WindowState like in
the answer comes asPlease Login or Register to view this content.
PERSONAL.XLSB = -4143
Book1 = -4140
Now the question - how could I receive the answer like:
PERSONAL.XLSB = xlNormal
Book1 = xlMinimized
(without having to set up a select case)
Grtz Bart
Bookmarks