Basically the code works something like this:
- Click on cell H1
- open a new window
- resize the active window to the named range ("labor")
- center active window to center of the screen
The area I'm having problems with is resizing the active window to the range selected. While it is possible to manually adjust the width and height until it works, I'd like to be able to base this off cell references. It's easy enough to get the max column (c) and row (r) from the named range, but is it possible to set the window limits to not exceed c (width) and not exceed r (height) ?
Bookmarks