Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Macros function sporadically

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?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 69
Default Macros function sporadically

On 26 Nov, 22:14, JacquieAtFRCC
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
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?


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
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Macros function sporadically

I will send you the workbook with the macros, buttons, etc. for your perusal.
" wrote:

On 26 Nov, 22:14, JacquieAtFRCC
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
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?


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

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 69
Default Macros function sporadically

On 26 Nov, 22:37, JacquieAtFRCC
wrote:
I will send you the workbook with the macros, buttons, etc. for your perusal.



" wrote:
On 26 Nov, 22:14, JacquieAtFRCC
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
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?


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- Hide quoted text -


- Show quoted text -


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

James
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
Copying cells working only sporadically NowWhatHaveIDone200 Excel Discussion (Misc queries) 2 April 12th 10 05:17 PM
Excel crashing ('sporadically') BabyMc Excel Discussion (Misc queries) 1 August 6th 09 06:31 PM
Group Function Works Sporadically Mashuganah Excel Discussion (Misc queries) 1 July 15th 09 08:50 PM
Gridlines sporadically not printing Pierea Excel Discussion (Misc queries) 0 September 23rd 08 05:01 PM
This function returns incorrect value sporadically Mike Excel Worksheet Functions 1 July 31st 08 10:12 PM


All times are GMT +1. The time now is 04:30 AM.

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"