create a grid

dgrosen

Board Regular
Joined
May 3, 2003
Messages
110
Good morning everyone.
I've been trying to work on this project but Im getting nowhere. I need your invaluable help
I need to create a variable grid. I need excel to position x number of option buttons on the x axis and on the y axis. Therefore if I input 5 on cell A1 and 10 on B1, it will insert 5 of this round objects on the x axis and 6 on the y axis, creating a grid with 50 buttons. Can it be done? How can I do it?
something like this:

:oops: :oops: :oops: :oops: :oops:
:oops: :oops: :oops: :oops: :oops:
:oops: :oops: :oops: :oops: :oops:
:oops: :oops: :oops: :oops: :oops:
:oops: :oops: :oops: :oops: :oops:
:oops: :oops: :oops: :oops: :oops:

Thanks a lot
Daniel
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
YES!, I have done it. Here is my method:

You want to insert the number of columns in A1, and the number of rows in B1. O.K.

1. Put this formula in, say, A2: =IF(AND($A$1>=A$22,$B$1>=$A22),"*","")
(Please substitute the * symol for yours.)
2. Copy A2 throught the range you want to use, say, A2:G10.
3. Put this formula in A21: =A1
4. Put a 1 in cell A22, then put =A22+1 in A23, then copy A23 down so
as to, at least, match the chosen row range, 2:10 in my example, by
copying down to, at least, A30 (9 rows, 22 to 30, matching rows 2 to
10).
5. Put this formula in B21: =B1.
6. Put the formula: =(A22+1) in B22, then copy B22 to at least G22, so
as to, at least, match the chosen column range, A:G in my example.
7. DONE :D
 
Upvote 0
Re: Create a grid

Well, it works for keyboard symbols, but, I don't know how to make it for a drawing or an icon! :(
Hopefully, someone will pick this up, using VBA, and make it do what you want it to do! :)
 
Upvote 0
:P thank you so much Ralph
But what Im trying to do is to insert option buttons in a grid.

What I need to do is:
1- define a grid (X and Y axis). Lets say I have 3x2.
2- then locate "option buttons" according to that specified grid
3- the option button will allow me to check and uncheck and will be a visual aid for me to know wich spot has a sample on it
:confused:
thanks
daniel
[/code]
 
Upvote 0
Daniel, from your original question, I was sure you were working in Excel. But, from your last posting, I'm beginning to think you are talking about VB or VBA. I am not your man for this! Sorry.

Regards,

Ralph
 
Upvote 0

Forum statistics

Threads
1,221,691
Messages
6,161,322
Members
451,696
Latest member
Senthil Murugan

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