psycoperl
Active Member
- Joined
- Oct 23, 2007
- Messages
- 339
- Office Version
- 365
- 2016
- Platform
- Windows
- MacOS
- Web
Thank you. My set up is external on top of the internal@psycoperl - I tested the add-in in my MacBook with dual monitor settings, found the issue, and also realized why I can't reproduce the same behavior on iMac with dual monitor.
The following screenshot shows my display arrangements on my desktop environment:
View attachment 29316
However, when I am using the MacBook Pro with the external monitor, it is something like the following since I am placing the external monitor in a higher position to be able to see it behind the MacBook screen:
View attachment 29317
There is a special routine in the code that relocates the user form considering the dual-monitors to avoid it to be displayed in the primary monitor if the application window is being used in the secondary monitor. Therefore, the user form is being moved but displayed in the blank area just below the external monitor in this arrangement.
There is no way (or at least a workaround that I am aware of) to calculate this difference between screen top-left coordinates in VBA. Even internal applications like the screenshot tool that remembers the previously selected area messes up when the screen vertical positions are set to be different. I am not sure if it also fails in Windows as well and It is kind of possible to find a workaround by using various API methods in Windows, but this is not in the XL2BB development plans since it should support Windows and Mac platforms at the same time.
However, I am happy to say that the next XL2BB update will also solve this dual monitor issue. Until then, as a workaround that I believe you already figured out, you can launch Excel in the primary monitor, and set the additional information options as you wish (likely selecting all checkboxes), and then you can use the context menu command button to generate mini-sheets.
Thanks again for bringing this up, and for all your help. You'll already receive a notification when the new version is released, however, I will also post here about it.
Looking forward to testing the new version out.