Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default How does one refreshes the screen?

I have protected a worksheet and disabled selection. The problem is
that cellpointer does not disappear from Range("A1") that I had
selected. If I have another application running eg notepad and place
notepad on top of Range(
"A1") the cellpointer disappears. Is there a way I can refresh the
screen in excel. My code is as follows


Sheet2.activate
Application.Screenupdating = true
With Sheet2
.Range("A1").Select
.EnableSelection = xlNoSelection
.Protect Contents:=True, UserInterfaceOnly:=True
End With

Thnak you
John
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default How does one refreshes the screen?

It did disappear for me (xl2002 and win98).

maybe adding a "doevents" to your code would help.

But since you don't want any selected cell, how about just

.range("iv65536").select

If it's off the screen, it should offer the same picture.



John wrote:

I have protected a worksheet and disabled selection. The problem is
that cellpointer does not disappear from Range("A1") that I had
selected. If I have another application running eg notepad and place
notepad on top of Range(
"A1") the cellpointer disappears. Is there a way I can refresh the
screen in excel. My code is as follows

Sheet2.activate
Application.Screenupdating = true
With Sheet2
.Range("A1").Select
.EnableSelection = xlNoSelection
.Protect Contents:=True, UserInterfaceOnly:=True
End With

Thnak you
John


--

Dave Peterson

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
Active chart refreshes slower in 2007 hmm Charts and Charting in Excel 3 April 2nd 08 02:36 PM
Button that refreshes all pivot tables at once Edd Keelan Excel Discussion (Misc queries) 3 January 5th 07 03:23 PM
Can I insert a link to picture that refreshes when image file cha Buzz Burhans Excel Discussion (Misc queries) 1 October 12th 06 06:12 PM
Workbook Refreshes For Multiple Users Carl Excel Worksheet Functions 0 September 18th 06 11:24 PM
Excel link to data in other worksheet only refreshes one column James Excel Discussion (Misc queries) 0 August 5th 05 05:03 PM


All times are GMT +1. The time now is 07:15 AM.

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"