Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default avoid to show the cursor movement during the Macro

Hi I am newbie with macro excel, so sorry for the no so technical question.

I need to create a report in a sheet 1 on base informations reported in the
sheet 2. Now to buiilt the script I am using the ".activate" or ".select"
command and everything seems to work fine but I am wondering if there is a
way to avoid the cursor visualization run up and down on the screen and
avoid also the Sheet 1 to Sheet 2 selecting on the screen while the the
script is running. Is ther a way to work with cells or range without have
that visualization ? Could i Set a variable as worksheet and work with Cell
and Range selection inside the variable ?

Thanks in advance

Marco


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default avoid to show the cursor movement during the Macro

Precede the code with

Application.Screenupdating = True

and reset to False at the end.

BTW, rarely need to Select anything, can usually do it directly. Faster, and
shorter code.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"chiandu" wrote in message
...
Hi I am newbie with macro excel, so sorry for the no so technical

question.

I need to create a report in a sheet 1 on base informations reported in

the
sheet 2. Now to buiilt the script I am using the ".activate" or ".select"
command and everything seems to work fine but I am wondering if there is a
way to avoid the cursor visualization run up and down on the screen and
avoid also the Sheet 1 to Sheet 2 selecting on the screen while the the
script is running. Is ther a way to work with cells or range without have
that visualization ? Could i Set a variable as worksheet and work with

Cell
and Range selection inside the variable ?

Thanks in advance

Marco




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default avoid to show the cursor movement during the Macro

oops, other way round. Set to False at start, and reset to True at the end.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"chiandu" wrote in message
...
Hi I am newbie with macro excel, so sorry for the no so technical

question.

I need to create a report in a sheet 1 on base informations reported in

the
sheet 2. Now to buiilt the script I am using the ".activate" or ".select"
command and everything seems to work fine but I am wondering if there is a
way to avoid the cursor visualization run up and down on the screen and
avoid also the Sheet 1 to Sheet 2 selecting on the screen while the the
script is running. Is ther a way to work with cells or range without have
that visualization ? Could i Set a variable as worksheet and work with

Cell
and Range selection inside the variable ?

Thanks in advance

Marco




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
Cursor movement pfk5971 Excel Discussion (Misc queries) 1 July 12th 09 12:03 AM
Cursor movement in a macro Kanga Excel Discussion (Misc queries) 3 January 11th 07 01:10 AM
Cursor Movement in Macro Tim Zych[_2_] Excel Programming 0 August 5th 03 09:49 PM
Cursor Movement in Macro Don Guillett[_4_] Excel Programming 1 August 5th 03 04:52 PM
Cursor Movement in Macro Ron de Bruin Excel Programming 0 August 5th 03 04:43 PM


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