Maximium Box in the circle

guang542

New Member
Joined
Oct 4, 2020
Messages
2
Office Version
  1. 2013
  2. 2007
Platform
  1. Windows
Hi, Pros:
I need help in create some code with Excel VBA, which find out how to layout box in the circle, requirement as such
1. Circle diameter= 194.0000mm
2. box dimmension can be varied, but L<33.0000mm, W<26.0000mm
3. Bottom edge move up 6mm is forbidden area.
4. The result can be reference to the circle center (0,0).

Best regards,

Guang.
 

Attachments

  • layout.png
    layout.png
    29.2 KB · Views: 19

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Hi, Pros:
I need help in create some code with Excel VBA, which find out how to layout box in the circle, requirement as such
1. Circle diameter= 194.0000mm
2. box dimmension can be varied, but L<33.0000mm, W<26.0000mm
3. Bottom edge move up 6mm is forbidden area.
4. move the box left and right, to findout the maximium box can be layout in the circle.
5. The result can be reference to the circle center (0,0).

Best regards,

Guang.
 
Upvote 0

Forum statistics

Threads
1,224,884
Messages
6,181,572
Members
453,054
Latest member
arz007

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