Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default programmatically changing priority of running excel macro at runti

Hi again,

Is it possible/how to change the priority level of a running macro within a
macro itself. For example, when doing file i/o which is intensive i would
like to lower it's priority so that it doesn't hog cpu. I won't have to
worry about the macro holding the file lock for too long because this will be
the only process accessing the file.

Thanks again.
Bing
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default programmatically changing priority of running excel macro at runti

You can't change the priority of Excel's macros.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Bing" wrote in message
...
Hi again,

Is it possible/how to change the priority level of a running
macro within a
macro itself. For example, when doing file i/o which is
intensive i would
like to lower it's priority so that it doesn't hog cpu. I
won't have to
worry about the macro holding the file lock for too long
because this will be
the only process accessing the file.

Thanks again.
Bing



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default programmatically changing priority of running excel macro at r

Hi Chip,

Thanks for responding.

How about programmatically changing the priority level of the Excel parent
application within a macro? Does VBA offer such functionality?

Thankss
Bing

"Chip Pearson" wrote:

You can't change the priority of Excel's macros.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Bing" wrote in message
...
Hi again,

Is it possible/how to change the priority level of a running
macro within a
macro itself. For example, when doing file i/o which is
intensive i would
like to lower it's priority so that it doesn't hog cpu. I
won't have to
worry about the macro holding the file lock for too long
because this will be
the only process accessing the file.

Thanks again.
Bing




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default programmatically changing priority of running excel macro at r

I don't believe this is possible.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Bing" wrote in message
...
Hi Chip,

Thanks for responding.

How about programmatically changing the priority level of the
Excel parent
application within a macro? Does VBA offer such functionality?

Thankss
Bing

"Chip Pearson" wrote:

You can't change the priority of Excel's macros.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Bing" wrote in message
...
Hi again,

Is it possible/how to change the priority level of a running
macro within a
macro itself. For example, when doing file i/o which is
intensive i would
like to lower it's priority so that it doesn't hog cpu. I
won't have to
worry about the macro holding the file lock for too long
because this will be
the only process accessing the file.

Thanks again.
Bing






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
Priority (with macro??) Alonso[_2_] Excel Worksheet Functions 4 October 25th 08 01:02 PM
Changing DSN programmatically? Michael Bourgon Excel Programming 1 October 21st 04 10:44 AM
Running macro when changing data Pjotr Excel Programming 1 September 12th 04 08:40 AM
changing an palette index value programmatically in Excel brad Excel Programming 2 April 3rd 04 04:05 AM
Auto_Open vs Open and call macro --priority question John Baker Excel Programming 3 December 7th 03 04:26 PM


All times are GMT +1. The time now is 06:11 PM.

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

About Us

"It's about Microsoft Excel"