ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   turning on/off cursor movement during VBA execution (https://www.excelbanter.com/excel-programming/338498-turning-off-cursor-movement-during-vba-execution.html)

ktisqj

turning on/off cursor movement during VBA execution
 
How do I turn on/off cursor movement during macro execution?

Jim Thomlinson[_4_]

turning on/off cursor movement during VBA execution
 
place this at the beginning of your code
application.screenupdateing = false

and place this at the end
application.screenupdateing = true

--
HTH...

Jim Thomlinson


"ktisqj" wrote:

How do I turn on/off cursor movement during macro execution?



All times are GMT +1. The time now is 10:09 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com