|
-
May 8th, 2013, 02:31 PM
#1
Thread Starter
New Member
EXCEL - How do you make a Radio button larger in an excel sheet?
Hi,
I cannot find out how to make a radio button larger. I was told you may be able to do it through code, but I can't figure it out. Any help? I was wondering if i could choose my own size?
Thanks,
-
May 8th, 2013, 08:56 PM
#2
Re: EXCEL - How do you make a Radio button larger in an excel sheet?
Are you using VB6 or VBA (Visual Basic within excel)?
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
-
May 9th, 2013, 06:48 AM
#3
Thread Starter
New Member
Re: EXCEL - How do you make a Radio button larger in an excel sheet?
Visual Basic inside Excel
-
May 9th, 2013, 09:08 AM
#4
Re: EXCEL - How do you make a Radio button larger in an excel sheet?
Thread moved from the 'CodeBank VB6' forum (which is for you to post working code examples, not questions) to the 'Office Development/VBA' forum... note that while it certainly isn't made clear, the "VB Editor" in Office programs is actually VBA rather than VB
-
May 10th, 2013, 04:19 AM
#5
Re: EXCEL - How do you make a Radio button larger in an excel sheet?
Code:
Sheets("sheet2").Shapes("optionbutton1").Width = 399
change sheet and radio button name to suit, same for height
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
-
May 13th, 2013, 02:55 PM
#6
Thread Starter
New Member
Re: EXCEL - How do you make a Radio button larger in an excel sheet?
 Originally Posted by westconn1
Code:
Sheets("sheet2").Shapes("optionbutton1").Width = 399
change sheet and radio button name to suit, same for height
Okay. So I need to right click the Button and hit assign macro, and go to new and change the settings from there?
When I did that nothing happened. mine was: Sheets("sheet1").Shapes("optionbutton1").Width = 399
-
May 13th, 2013, 04:24 PM
#7
Re: EXCEL - How do you make a Radio button larger in an excel sheet?
So I need to right click the Button and hit assign macro
i doubt that you would want to change the size of the button from within its own click event
When I did that nothing happened.
put a breakpoint on that line of code to see if it ever runs
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
-
May 14th, 2013, 02:00 AM
#8
Re: EXCEL - How do you make a Radio button larger in an excel sheet?
 Originally Posted by anoble1
Hi,
I cannot find out how to make a radio button larger. I was told you may be able to do it through code, but I can't figure it out. Any help? I was wondering if i could choose my own size?
Thanks,
Reading your reply to westconn1, it sounds to me as if you actually just want to change the size of the radio button and to do it via cosde was the work-around!
If thats true, did you rigth click on the RadioButton and formated it?
The change via code and via formatting will NOT change the small cirlce of the Button, the whole Control (circle with text) will be changend!
You're welcome to rate this post!
If your problem is solved, please use the Mark thread as resolved button
Wait, I'm too old to hurry!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|