smozgur

XL2BB - Excel Range to BBCode 2.1

No permission to download
@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.
Thank you. My set up is external on top of the internal Screen Shot 2021-01-08 at 6.28.25 AM.png
Looking forward to testing the new version out.
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
smozgur updated XL2BB - Excel Range to BBCode with a new update entry:

v2.0 - User interface update and multiple range selection feature

New features:
  • Multiple areas can be selected in the same worksheet to create separated mini-sheets. This is useful if you'd like to post separate ranges by excluding the unrelated rows and/or columns without having to hide them.
Changes:
  • Additional info options and settings moved to the ribbon tab instead of displaying the add-in user form during the capture. This also solves the dual monitor issues discussed...

Read the rest of this update entry...
 
Thank you for the continual updates!!!
 
Dates test for US / UK format - if still formats as US when UK
Book1
A
1Date
24/1/21
35/1/21
45/1/21
55/1/21
66/1/21
77/1/21
87/1/21
912/1/21
1012/2/21
1112/3/21
1212/4/21
1312/5/21
1412/6/21
1512/17/21
Sheet1
 
If you have the d/m/yyyy format as I have below, then XL2BB will show how you formatted it.
The following is exactly how I formatted in Excel and captured the range by using XL2BB:

wip.xlsm
A
1Date
213/12/2020
314/12/2020
415/12/2020
516/12/2020
617/12/2020
718/12/2020
819/12/2020
920/12/2020
1021/12/2020
1122/12/2020
1223/12/2020
1324/12/2020
1425/12/2020
1526/12/2020
Sheet3


When you copy it from here to the worksheet by using the BB2XL feature (top left copy button), then it will copy date values as numeric, and it will show exact dates that show in the mini-sheet.

1611087420552.png


Then you need to set the date format when you paste it into Excel since there is no way to transfer the number format.

1611087477545.png


The result is just as it is expected - correct data transfer.
 
thanks for the reply , i was not expecting a reply, BUT thankyou

I'm in UK with a Date format DD/MM/YYYY
and when i use 2XLBB
and paste into forum it always changes to MM/DD/YYYY format
 
Interesting. I have DD/MM/YYYY region settings in my Windows machine, and I have the following sample data:

1611088457305.png


Selected the range, and captured it. Here is the result.

Book1
A
113/01/2021
214/01/2021
315/01/2021
416/01/2021
517/01/2021
618/01/2021
719/01/2021
820/01/2021
921/01/2021
1022/01/2021
1123/01/2021
1224/01/2021
Sheet1
 
i have a mac using 365 if that makes a difference maybe
Book4
A
312/15/20
412/16/20
512/17/20
612/18/20
712/19/20
812/20/20
912/21/20
1012/22/20
1112/23/20
1212/24/20
1312/25/20
1412/26/20
1512/27/20
1612/28/20
1712/29/20
1812/30/20
Sheet1
 

Attachments

  • Screenshot 2021-01-19 at 20.37.45.png
    Screenshot 2021-01-19 at 20.37.45.png
    61.6 KB · Views: 15

Forum statistics

Threads
1,223,909
Messages
6,175,310
Members
452,634
Latest member
cpostell

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top