Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I'm using Excel 2003. I placed two buttons on a blank sheet. I called them
cmdOne and cmdTwo. The captions are New and Report respectively. There are no macros in this spreadsheet and nothing (that I know of ) attached to their click events. When I alternate clicking the buttons, the font grows larger. When I look at the font properties, the font size does not change. If I resize the buttons, the caption font assumes it's attribute setting. What's is going on? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You could delete them and re-add them. Sometimes that works.
Or you could delete them and add buttons from the Forms toolbar. They behave better, but they don't have as many features that you can fiddle with. As a curiousity, why have the commandbuttons/buttons if there is no code? Maybe hyperlinks??? You may want to use different shapes (from the Drawing toolbar) if you want prettier objects. SteveO250k wrote: I'm using Excel 2003. I placed two buttons on a blank sheet. I called them cmdOne and cmdTwo. The captions are New and Report respectively. There are no macros in this spreadsheet and nothing (that I know of ) attached to their click events. When I alternate clicking the buttons, the font grows larger. When I look at the font properties, the font size does not change. If I resize the buttons, the caption font assumes it's attribute setting. What's is going on? -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Dave, Thanks for your quick response. I actually have the problem in another spreadsheet which does something. In an effort to troubleshoot the problem I created a blank workbook and added just the buttons. Troubleshooting further, I closed all workbooks except the blank one with the two buttons and the problem went away. When I re-open the original workbook the problem reappears in both workbooks. Some VBA or macro in the original workbook is kidnapping any button on any worksheet and changing the font size. (althought the sheet1.cmdOne.font.size attribute does NOT change). In the original workbook the click event for each button calls a routine to start what ever (add a new record or run a report). I commented out that call so the click event does nothing, no code is called. The font size still changes when I alternate clicking between the buttons. My next step is to comment out each subroutine until the problem goes away. "Dave Peterson" wrote: You could delete them and re-add them. Sometimes that works. Or you could delete them and add buttons from the Forms toolbar. They behave better, but they don't have as many features that you can fiddle with. As a curiousity, why have the commandbuttons/buttons if there is no code? Maybe hyperlinks??? You may want to use different shapes (from the Drawing toolbar) if you want prettier objects. SteveO250k wrote: I'm using Excel 2003. I placed two buttons on a blank sheet. I called them cmdOne and cmdTwo. The captions are New and Report respectively. There are no macros in this spreadsheet and nothing (that I know of ) attached to their click events. When I alternate clicking the buttons, the font grows larger. When I look at the font properties, the font size does not change. If I resize the buttons, the caption font assumes it's attribute setting. What's is going on? -- Dave Peterson |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I don't think you'll find any code that's changing the font size. I'd bet that
it's just misbehaving controls. You can search google and you'll find that this happens to other people, too. It's not common (I don't recall seeing it in real life, but I like buttons from the Forms toolbar), but it shows up in the newsgroups every so often. SteveO250k wrote: Dave, Thanks for your quick response. I actually have the problem in another spreadsheet which does something. In an effort to troubleshoot the problem I created a blank workbook and added just the buttons. Troubleshooting further, I closed all workbooks except the blank one with the two buttons and the problem went away. When I re-open the original workbook the problem reappears in both workbooks. Some VBA or macro in the original workbook is kidnapping any button on any worksheet and changing the font size. (althought the sheet1.cmdOne.font.size attribute does NOT change). In the original workbook the click event for each button calls a routine to start what ever (add a new record or run a report). I commented out that call so the click event does nothing, no code is called. The font size still changes when I alternate clicking between the buttons. My next step is to comment out each subroutine until the problem goes away. "Dave Peterson" wrote: You could delete them and re-add them. Sometimes that works. Or you could delete them and add buttons from the Forms toolbar. They behave better, but they don't have as many features that you can fiddle with. As a curiousity, why have the commandbuttons/buttons if there is no code? Maybe hyperlinks??? You may want to use different shapes (from the Drawing toolbar) if you want prettier objects. SteveO250k wrote: I'm using Excel 2003. I placed two buttons on a blank sheet. I called them cmdOne and cmdTwo. The captions are New and Report respectively. There are no macros in this spreadsheet and nothing (that I know of ) attached to their click events. When I alternate clicking the buttons, the font grows larger. When I look at the font properties, the font size does not change. If I resize the buttons, the caption font assumes it's attribute setting. What's is going on? -- Dave Peterson -- Dave Peterson |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Thanks, I switched to the forms buttons and the problem went away. Microsoft, can't live with them, can't live without them. 8^) Thanks for your help, Steve O "Dave Peterson" wrote: I don't think you'll find any code that's changing the font size. I'd bet that it's just misbehaving controls. You can search google and you'll find that this happens to other people, too. It's not common (I don't recall seeing it in real life, but I like buttons from the Forms toolbar), but it shows up in the newsgroups every so often. SteveO250k wrote: Dave, Thanks for your quick response. I actually have the problem in another spreadsheet which does something. In an effort to troubleshoot the problem I created a blank workbook and added just the buttons. Troubleshooting further, I closed all workbooks except the blank one with the two buttons and the problem went away. When I re-open the original workbook the problem reappears in both workbooks. Some VBA or macro in the original workbook is kidnapping any button on any worksheet and changing the font size. (althought the sheet1.cmdOne.font.size attribute does NOT change). In the original workbook the click event for each button calls a routine to start what ever (add a new record or run a report). I commented out that call so the click event does nothing, no code is called. The font size still changes when I alternate clicking between the buttons. My next step is to comment out each subroutine until the problem goes away. "Dave Peterson" wrote: You could delete them and re-add them. Sometimes that works. Or you could delete them and add buttons from the Forms toolbar. They behave better, but they don't have as many features that you can fiddle with. As a curiousity, why have the commandbuttons/buttons if there is no code? Maybe hyperlinks??? You may want to use different shapes (from the Drawing toolbar) if you want prettier objects. SteveO250k wrote: I'm using Excel 2003. I placed two buttons on a blank sheet. I called them cmdOne and cmdTwo. The captions are New and Report respectively. There are no macros in this spreadsheet and nothing (that I know of ) attached to their click events. When I alternate clicking the buttons, the font grows larger. When I look at the font properties, the font size does not change. If I resize the buttons, the caption font assumes it's attribute setting. What's is going on? -- Dave Peterson -- Dave Peterson |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Sometimes, deleting them and re-adding them can stop/delay the problem.
SteveO250k wrote: Thanks, I switched to the forms buttons and the problem went away. Microsoft, can't live with them, can't live without them. 8^) Thanks for your help, Steve O "Dave Peterson" wrote: I don't think you'll find any code that's changing the font size. I'd bet that it's just misbehaving controls. You can search google and you'll find that this happens to other people, too. It's not common (I don't recall seeing it in real life, but I like buttons from the Forms toolbar), but it shows up in the newsgroups every so often. SteveO250k wrote: Dave, Thanks for your quick response. I actually have the problem in another spreadsheet which does something. In an effort to troubleshoot the problem I created a blank workbook and added just the buttons. Troubleshooting further, I closed all workbooks except the blank one with the two buttons and the problem went away. When I re-open the original workbook the problem reappears in both workbooks. Some VBA or macro in the original workbook is kidnapping any button on any worksheet and changing the font size. (althought the sheet1.cmdOne.font.size attribute does NOT change). In the original workbook the click event for each button calls a routine to start what ever (add a new record or run a report). I commented out that call so the click event does nothing, no code is called. The font size still changes when I alternate clicking between the buttons. My next step is to comment out each subroutine until the problem goes away. "Dave Peterson" wrote: You could delete them and re-add them. Sometimes that works. Or you could delete them and add buttons from the Forms toolbar. They behave better, but they don't have as many features that you can fiddle with. As a curiousity, why have the commandbuttons/buttons if there is no code? Maybe hyperlinks??? You may want to use different shapes (from the Drawing toolbar) if you want prettier objects. SteveO250k wrote: I'm using Excel 2003. I placed two buttons on a blank sheet. I called them cmdOne and cmdTwo. The captions are New and Report respectively. There are no macros in this spreadsheet and nothing (that I know of ) attached to their click events. When I alternate clicking the buttons, the font grows larger. When I look at the font properties, the font size does not change. If I resize the buttons, the caption font assumes it's attribute setting. What's is going on? -- Dave Peterson -- Dave Peterson -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Incorrect Font Associated with Bold Button on Toolbar | Excel Discussion (Misc queries) | |||
Button font size changes on click | Excel Discussion (Misc queries) | |||
Font Size in Command Button | Excel Discussion (Misc queries) | |||
When I click buttons I have added the font or button resize, Why? | Excel Discussion (Misc queries) | |||
Icon button - font/style | Excel Discussion (Misc queries) |