Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / November 2007

Tip: Looking for answers? Try searching our database.

Macros function sporadically

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JacquieAtFRCC - 26 Nov 2007 22:14 GMT
I have written macros and tested them in VBA. They do run. I have assigned
these macros to buttons on a report worksheet. I have changed Excel security
settings to allow all macros and allowed access to the VBA project module.
However, when I click on the buttons to run the assigned macro, the macro may
function one time and not the next. It seems that if I reset the Security
settings each time before I run a macro, the macro seems to run, but this
isn't an acceceptable fix. Does anyone know why the macros function
sporadically?
james.billy@gmail.com - 26 Nov 2007 22:20 GMT
On 26 Nov, 22:14, JacquieAtFRCC
<JacquieAtF...@discussions.microsoft.com> wrote:
> I have written macros and tested them in VBA. They do run. I have assigned
> these macros to buttons on a report worksheet. I have changed Excel security
[quoted text clipped - 4 lines]
> isn't an acceceptable fix. Does anyone know why the macros function
> sporadically?

Hi,

Have you got an example of a macro that has this behaviour, might be
worth ruling out your code in the first instance.

James
JacquieAtFRCC - 26 Nov 2007 22:37 GMT
I will send you the workbook with the macros, buttons, etc. for your perusal.

> On 26 Nov, 22:14, JacquieAtFRCC
> <JacquieAtF...@discussions.microsoft.com> wrote:
[quoted text clipped - 13 lines]
>
> James
james.billy@gmail.com - 26 Nov 2007 22:42 GMT
On 26 Nov, 22:37, JacquieAtFRCC
<JacquieAtF...@discussions.microsoft.com> wrote:
> I will send you the workbook with the macros, buttons, etc. for your perusal.
>
[quoted text clipped - 18 lines]
>
> - Show quoted text -

Ok I will take a look, see if I get the same behaviour.

James
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.