|
-
May 17th, 2006, 11:25 AM
#1
Thread Starter
New Member
Excel OptionButtons
I have a workbook with multiple worksheets in it. It's basically a lengthy survey and on each worksheet, there are OptionButtons and CheckBoxes. As you go through the survey, you select the appropriate CheckBox or OptionButton that corresponds with your answer.
Here is my problem;
Sometimes when I flip from worksheet to worksheet, the OptionButton value is cleared. The CheckBoxes work just fine.
Any ideas? I've checked all of the properties and many many internet searches for help, with no success. There is no code under WorkSheet_Activate.
-
May 17th, 2006, 10:14 PM
#2
Re: Excel OptionButtons
Welcome to the Forums.
Could you attach your xls file if possible? You have nothing anywhere that is setting the option button values?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
May 18th, 2006, 07:27 AM
#3
Thread Starter
New Member
Re: Excel OptionButtons
The .xls file is huge (over 4MB in size). The only code effecting the option buttons is as follows (each OptionButton has similar code).
If OptionButton18.Value = True Then
Range("d10").Value = 0
Range("d11").Value = 3
Range("d12").Value = 0
Range("d13").Value = 0
Range("d14").Value = 0
Range("d15").Value = 0
End If
Yes, the OptionButtons "sets" are all in unique Groups (properties box).
Do you think Excel Service Pack 2 would effect it?
-
May 18th, 2006, 01:41 PM
#4
Re: Excel OptionButtons
Not sure as I havent heard of this issue before. It may be a good idea to search MS for known issues on SP2 for office 2003.
One way to tell is to comment all your option button code completely and see if the issue goes away. If it does then its your code logic that is the problem.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
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
|