button properties
I'm looking for the "Name" of a button
The message box of the first line of code provides "bPrintPages"
What is needed to get "button 17" with the second MsgBox?
Sub testxxxx()
MsgBox shtInput.[button 17].Name
MsgBox shtInput.[bPrintPages]
End Sub
Keys to the Problem button properties
Download SmartPCFixer to Fix It (Free)
I added a forms button to the sheet called it MyButton (via the Name Box), gave the caption Hello and copied it 16 times.
I then deleted the first and 15 subsequent copies.
Debug.Print ActiveSheet.[Button 17].Name
Debug.Print ActiveSheet.[Button 17].Caption
Debug.Print ActiveSheet.[Button 17].Index
Debug.Print ActiveSheet.[MyButton].Name
Debug.Print ActiveSheet.[MyButton].Caption
Debug.Print ActiveSheet.[MyButton].Index
Debug.Print ActiveSheet.Buttons(1).Name
Debug.Print ActiveSheet.Buttons(1).Caption
Debug.Print ActiveSheet.Buttons(1).Index
--Immediate window output --------------------------------------------------------------
MyButton
Hello
1
MyButton
Hello
1
MyButton
Hello
1
-----------------------------------------------------
I think the information, Button 17, is something stored internally and is not exposed via the object model.
Windows Error Reporting - To Fix button properties
- Go to Start button.
- Open Control Panel.
- Go to Windows Error Reporting.
- Click on System and Maintenance, then click Problem Reports and Solutions.
- Next, click Change Settings located on the left side panel of the Problem Reports and Solutions window.
- Select an option to configure how you want Windows to look for a solution to your problems. You may allow Windows to do it automatically or ask you every time to check if problem occurs.
- Next, click the Advanced settings link.
- Select Off to turn off Error Reporting.
Recommended Method to Fix the Problem: button properties:
How to Fix button properties with SmartPCFixer?
1. You can Download Error Fixer here. Install it on your system. When you open it, it will perform a scan.
2. After the scan is finished, you can see the errors and problems which need to be fixed.
3. When the Fixing part is done, your computer has been speeded up and the errors have been fixed
Related: How to Download Toshiba Portege R500 HDD/SSD Alert Utility v.2.2.0.0 driver,Way to Update & Download Toshiba Satellite A355-S69403 Motorola Modem Region Select Utility v.2.2.3.0 driver,Where to Download Toshiba Satellite L305-S5926 HW Setup Utility v.2.00.11 driver,[Solved] Download Toshiba Satellite L675-S7115 Laptop Checkup v.2.0.6.22 driver,Method to Download Toshiba Satellite M645-S4080 Media Controller v.1.1.88.1 driver,Best Way to Download NVidia GeForce 6100 VGA Driver v.304.51 Certified,How Can You Update & Download NVidia GeForce 9300/nForce 730i VGA Driver v.310.19 Certified,Method to Download NVidia GeForce GT 330M Driver v.340.65,How Can I Update & Download NVidia GeForce GTX 590 Driver v.280.26 WHQL,Method to Download NVidia Tesla C2050 Driver v.319.17
Read More: [Solution] BSOD with DRIVER_POWER_STATE_FAILURE error after resuming form sleep,How to Fix Problem - C and E drives are switched?,Troubleshooter of Error: Calculated Field does not give the correct result,bug report for Java version 6.0.260.3 Tech Support,How Can You Fix - Bluetooth not working properly with Windows 8.1?,All diagnostic tools give 0x800700C1, troubleshooting wizard can't continue,all files try to open with adobe,all icons on desktop have changed to Adobe icon and won't open,All functions of my outlook are working except it will not let me "REPLY" or start a "NEW" email,all f1-f12 shortcuts not work
No comments:
Post a Comment