PC Review


Reply
Thread Tools Rate Thread

Buttons to run macro do not work ...

 
 
Joe HM
Guest
Posts: n/a
 
      8th Nov 2006
Hello -

I have a few buttons embedded in one of my Worksheets (via
=EMBED("Forms.CommandButton.1","")). The problem is that some users
cannot press those buttons when they click on them (the Forms... does
not even show up in the fx Field). I am running Excel 2003 SP2 and the
user who opened the file has the same version. I also made sure that
the selected "Enable Macros" with the Medium Security Setting.

He can run the macro code via the Tools > Macro > Macros.... This is
very strange and hopefully someone here has an idea why this is
happening. The button cannot even be pressed ... just as if the Design
Mode was turned on but it is not.

Any ideas?

Thanks!
Joe

 
Reply With Quote
 
 
 
 
=?Utf-8?B?SmF5?=
Guest
Posts: n/a
 
      8th Nov 2006
Hmmm.... I don't know for sure what's going on, but you want to find out
which kind of button you have on your worksheet and where the associated
macro code really is located.

As you know, the button can be built with the Forms toolbar or from the
Control Toolbox. The button you describe as "embedded" suggests that it was
built from the Control Toolbox. However, macro code for these buttons is
Private and is not accessible through the Tools, Macro, Marcros menu. You
have to right-click on the button in DesignMode, choose ViewCode, and build
the code there.

The symptom you describe can occur on a protected worksheet, but only when
design mode is on (and you've confirmed that it's off).

--
Jay


"Joe HM" wrote:

> Hello -
>
> I have a few buttons embedded in one of my Worksheets (via
> =EMBED("Forms.CommandButton.1","")). The problem is that some users
> cannot press those buttons when they click on them (the Forms... does
> not even show up in the fx Field). I am running Excel 2003 SP2 and the
> user who opened the file has the same version. I also made sure that
> the selected "Enable Macros" with the Medium Security Setting.
>
> He can run the macro code via the Tools > Macro > Macros.... This is
> very strange and hopefully someone here has an idea why this is
> happening. The button cannot even be pressed ... just as if the Design
> Mode was turned on but it is not.
>
> Any ideas?
>
> Thanks!
> Joe
>
>

 
Reply With Quote
 
=?Utf-8?B?Zmx1ZmZ5bW9vcmU=?=
Guest
Posts: n/a
 
      8th Nov 2006
This could be because the macro that you have assigned to the button more
than likely only exists under you as a user or that the assigning itself only
exists under you as a user.

Try assigning macro to the button under a different user and give that a try!

"Joe HM" wrote:

> Hello -
>
> I have a few buttons embedded in one of my Worksheets (via
> =EMBED("Forms.CommandButton.1","")). The problem is that some users
> cannot press those buttons when they click on them (the Forms... does
> not even show up in the fx Field). I am running Excel 2003 SP2 and the
> user who opened the file has the same version. I also made sure that
> the selected "Enable Macros" with the Medium Security Setting.
>
> He can run the macro code via the Tools > Macro > Macros.... This is
> very strange and hopefully someone here has an idea why this is
> happening. The button cannot even be pressed ... just as if the Design
> Mode was turned on but it is not.
>
> Any ideas?
>
> Thanks!
> Joe
>
>

 
Reply With Quote
 
Joe HM
Guest
Posts: n/a
 
      8th Nov 2006
Hello -

Yep ... I inserted the button via the Control Toolbox and everything is
working fine for 30-40 different users. There is only one user who has
that problem. Maybe he should just re-install Excel? I know ... this
is really strange ...

Thanks!
Joe

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Assigning macro buttons to macro code in another file Enz Microsoft Excel Programming 2 25th May 2009 06:44 PM
Macro Driven Buttons from Access 2003 don't work in 2007 Kathy Microsoft Access Macros 5 18th Oct 2008 07:51 PM
excel macro buttons created on quick access toolbar wont work petedavo Microsoft Excel Crashes 1 2nd Feb 2008 09:32 PM
Outlook 2000 Cannot press send, no buttons work, no menus work after adding attachment tocoll@atcc.net Microsoft Outlook Discussion 0 22nd Sep 2006 07:41 PM
Replacing macro buttons with a new set of buttons jonco Microsoft Excel Programming 3 3rd Jul 2006 01:36 AM


Features
 

Advertising
 

Newsgroups
 


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