Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default Right Mouse click advances macro?

All -

I have several macros that each input and parse a lot of data and then
format the result. Each takes a long time to run. I watch that
hour-glass for a good while, but the macros in the end do successfully
run.

I've discovered that if after several minutes I do a right-mouse-click
that that the macros immediately jump to the next step, which is a user
input.

So it occurs to me that: one, there's needless idle time going on that I
don't know how to find, and two, that if I can "program in" a
right-mouse click before the input, I'll be minutes ahead.

I apologize for not knowing how to Google this in 10 words or less. Can
anyone provide insight into what's going on?

....best, Hash
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,049
Default Right Mouse click advances macro?

it helps if you post the code

wrote in message news:YQ1Kf.98297$4l5.60542@dukeread05...
All -

I have several macros that each input and parse a lot of data and then
format the result. Each takes a long time to run. I watch that
hour-glass for a good while, but the macros in the end do successfully
run.

I've discovered that if after several minutes I do a right-mouse-click
that that the macros immediately jump to the next step, which is a user
input.

So it occurs to me that: one, there's needless idle time going on that I
don't know how to find, and two, that if I can "program in" a
right-mouse click before the input, I'll be minutes ahead.

I apologize for not knowing how to Google this in 10 words or less. Can
anyone provide insight into what's going on?

...best, Hash



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Right Mouse click advances macro?

Perhaps calculation is causing the problem - the click could be interrupting
the calculation



at the top of the macro try

Application.Calculation = xlManual

and at the end

Application.Calculation = xlAutomatic

--
Regards,
Tom Ogilvy

wrote in message news:YQ1Kf.98297$4l5.60542@dukeread05...
All -

I have several macros that each input and parse a lot of data and then
format the result. Each takes a long time to run. I watch that
hour-glass for a good while, but the macros in the end do successfully
run.

I've discovered that if after several minutes I do a right-mouse-click
that that the macros immediately jump to the next step, which is a user
input.

So it occurs to me that: one, there's needless idle time going on that I
don't know how to find, and two, that if I can "program in" a
right-mouse click before the input, I'll be minutes ahead.

I apologize for not knowing how to Google this in 10 words or less. Can
anyone provide insight into what's going on?

...best, Hash



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
Macro recording won't record mouse click of add-in app button bocabuilder Excel Discussion (Misc queries) 3 March 12th 09 07:47 PM
Run Macro on Mouse Click vacation Excel Worksheet Functions 8 July 24th 06 04:10 PM
adding macro to right mouse click menu JimB Excel Discussion (Misc queries) 1 October 31st 05 03:37 PM
clicker that advances one number per click in a cell Rayco Excel Discussion (Misc queries) 10 August 23rd 05 04:13 PM
clicker that advances one number per click in a cell Rayco Excel Worksheet Functions 1 August 7th 05 06:58 AM


All times are GMT +1. The time now is 06:52 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"