Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Bill Martin
 
Posts: n/a
Default Command Button Assignment

Some bit of configuration evidently changed in my Excel97 that I'm having
difficulty tracking down. Up to now I've had it set up so that the control
toolbox is displayed all the time in the tool bar. And when I'd click on the
"Command Button" icon I could create a button on my spreadsheet and then Excel
would ask me to assign a macro to it. All was well.

Somehow the control toolbox disappeared from my toolbar today. Grumble,
grumble... So I go into ViewToolbarsControlToolbox and reselect it. The
toolbox pops up in it's own little window that I've never seen before. Hmmm...
So I drag the window to the toolbar and it seems to attach there looking about
the same as it always had. Now however when I click to create a "command
button" it creates the button assigned to a dummy Private Sub that it also
created for me on the worksheet. I can't find any way to assign it to an
arbitrary Sub I've written in a module somewhere as I used to. There is no
"assign macro" entry on the drop down menu that comes when I right click on the
button now. It seems to be permanently assigned to the dummy Sub it created.

Any idea how to get it back into the original mode so I can assign any macro I
want to it and don't have code stored on each worksheet that I put a button on?

Thanks...

Bill
  #2   Report Post  
Posted to microsoft.public.excel.misc
Jim Rech
 
Posts: n/a
Default Command Button Assignment

And when I'd click on the "Command Button" icon I could create a button on
my spreadsheet and then Excel

would ask me to assign a macro to it.

This behavior is what you get with the Forms toolbar button. I suspect
you've been using that.

--
Jim
"Bill Martin" wrote in message
...
Some bit of configuration evidently changed in my Excel97 that I'm having
difficulty tracking down. Up to now I've had it set up so that the
control
toolbox is displayed all the time in the tool bar. And when I'd click on
the
"Command Button" icon I could create a button on my spreadsheet and then
Excel
would ask me to assign a macro to it. All was well.

Somehow the control toolbox disappeared from my toolbar today. Grumble,
grumble... So I go into ViewToolbarsControlToolbox and reselect it.
The
toolbox pops up in it's own little window that I've never seen before.
Hmmm...
So I drag the window to the toolbar and it seems to attach there looking
about
the same as it always had. Now however when I click to create a "command
button" it creates the button assigned to a dummy Private Sub that it also
created for me on the worksheet. I can't find any way to assign it to an
arbitrary Sub I've written in a module somewhere as I used to. There is
no
"assign macro" entry on the drop down menu that comes when I right click
on the
button now. It seems to be permanently assigned to the dummy Sub it
created.

Any idea how to get it back into the original mode so I can assign any
macro I
want to it and don't have code stored on each worksheet that I put a
button on?

Thanks...

Bill



  #3   Report Post  
Posted to microsoft.public.excel.misc
Bill Martin
 
Posts: n/a
Default Command Button Assignment

Jim Rech wrote:
And when I'd click on the "Command Button" icon I could create a button on
my spreadsheet and then Excel would ask me to assign a macro to it.


This behavior is what you get with the Forms toolbar button. I suspect
you've been using that.

----------------------------------

You're 100% correct! Thanks for the help. I never realized one could create a
button from "forms" or from "controls" and get two slightly different behaviors
from it.

Thanks...

Bill
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
assignment problem L. Chung Excel Worksheet Functions 1 April 17th 05 06:06 AM
excel assignment Davko Excel Discussion (Misc queries) 1 April 15th 05 08:32 AM
Quick Excel download for homework assignment starme Excel Discussion (Misc queries) 3 March 23rd 05 11:59 PM
assignment redundancy check james Excel Discussion (Misc queries) 1 January 19th 05 10:53 PM
excused assignment in the excel gradebook. lalewis Excel Discussion (Misc queries) 1 January 5th 05 03:29 AM


All times are GMT +1. The time now is 07:01 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"