How to add more Pattern Style when show xlDialogPatterns

namngo

New Member
Joined
Jul 20, 2024
Messages
2
Office Version
  1. 2019
Platform
  1. Windows
This view is when we show xlDialogPatterns
Application.Dialogs(xlDialogPatterns).Show
How to add more Pattern Style in this build-in Dialog?
Currently, it is fixed with 18 patterns Style. I want to add more like in Pattern Fill that has 48.
Thank you.
1721520219049.png
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
hello namngo

I found some info from previous questions


As you noted there are fixed limitations for 18 patterns which is Excel's limits and there appears no direct method to counter or improve on that directly. An option look at might be to create custom user form that copies the xlDialogPatterns, but includes more pattern options. You would then create a Userform in VBA and creating additional patterns.

Hope this helps your design process

plettieri
 
Upvote 0
hello namngo

I found some info from previous questions


As you noted there are fixed limitations for 18 patterns which is Excel's limits and there appears no direct method to counter or improve on that directly. An option look at might be to create custom user form that copies the xlDialogPatterns, but includes more pattern options. You would then create a Userform in VBA and creating additional patterns.

Hope this helps your design process

plettieri
If we create Userform and ckpy xlDialogPatterns how could we get the Sample (combination of Pattern and color) and have same behavior as xlDialogPattern?
 
Upvote 0

Forum statistics

Threads
1,221,550
Messages
6,160,459
Members
451,647
Latest member
Tdeulkar

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