|
|
Taxidermist
from Black Grass on 2005-11-12 04:00 [#01776133]
Points: 9958 Status: Lurker
|
|
I am trying to figure out a way to create a button in excel that performs a function. Anybody have any ideas?
|
|
Taxidermist
from Black Grass on 2005-11-12 05:05 [#01776179]
Points: 9958 Status: Lurker
|
|
To elaborate, I mean a kind of yes no toggle, or anything. it could be a useless function.
|
|
xceque
on 2005-11-12 06:07 [#01776198]
Points: 5888 Status: Moderator | Show recordbag
|
|
Do you mean a buttun inside a worksheet cell? Or on one of the toolbars? There's probably some way you can use VBA to create a checkbox (button style) but whether you can get the button in a cell, I have no idea. I use VB6 at work but never bothered with VBA.
|
|
ecnadniarb
on 2005-11-12 06:09 [#01776199]
Points: 24805 Status: Lurker | Show recordbag
|
|
Just go to View>>Toolbars>>Control Toolbox
|
|
Taxidermist
from Black Grass on 2005-11-12 06:11 [#01776201]
Points: 9958 Status: Lurker | Followup to xceque: #01776198
|
|
Yeah. Button in a cell. I have written a spreadsheet that you tell what scale you want, and it randomly generates you a string of 8 notes. In order to have it recalculate the random notes, you need to make a change to the spreadsheet, the least destructive option pressing delete on a random empty cell. But I want to give it a better UI than that. It kinda feels too ghetto.
|
|
Taxidermist
from Black Grass on 2005-11-12 06:16 [#01776203]
Points: 9958 Status: Lurker | Followup to ecnadniarb: #01776199
|
|
Wow... I had that up there, but I never really paid attention to it after I placed it in my toolbar (probly because I fell asleep a few minutes later).
Thanks!
|
|
xceque
on 2005-11-12 06:17 [#01776204]
Points: 5888 Status: Moderator | Followup to ecnadniarb: #01776199 | Show recordbag
|
|
Yeah, that works. Add a button, position it, tweak properties, edit the code behind. Simple. Didn't think it'd be too tricky.
|
|
Messageboard index
|