Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
avi avi is offline
external usenet poster
 
Posts: 195
Default Refedit retains focus (Repost)

Hello,

I'm using a refedit whose value (a range address) serves to populate a
listview box.

Is there a way to cause the refedit to loose automatically focus after
it is completely updated, whithout using the change event which seems
to be fired several time as the refedit value is filled, and thus
causing indesirable results

Sorry for reposting but I really need some help

Thanks
Avi

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,582
Default Refedit retains focus (Repost)

I've found the RefEdit events unreliable. Why not use ListBox1.SetFocus to
take away focus from the RefEdit?

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"avi" wrote in message
ups.com...
Hello,

I'm using a refedit whose value (a range address) serves to populate a
listview box.

Is there a way to cause the refedit to loose automatically focus after
it is completely updated, whithout using the change event which seems
to be fired several time as the refedit value is filled, and thus
causing indesirable results

Sorry for reposting but I really need some help

Thanks
Avi



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 772
Default Refedit retains focus (Repost)

Refedit will let you select multiple ranges and change selections, there is
no way for the system to know when you are done, you have to tell it you are
done with a tab or something to move to the next. Its best try at knowing
when your done is well represented in what you saw with the change event.
--
-John
Please rate when your question is answered to help us and others know what
is helpful.


"avi" wrote:

Hello,

I'm using a refedit whose value (a range address) serves to populate a
listview box.

Is there a way to cause the refedit to loose automatically focus after
it is completely updated, whithout using the change event which seems
to be fired several time as the refedit value is filled, and thus
causing indesirable results

Sorry for reposting but I really need some help

Thanks
Avi


  #4   Report Post  
Posted to microsoft.public.excel.programming
avi avi is offline
external usenet poster
 
Posts: 195
Default Refedit retains focus (Repost)

Thanks a lot

As usual, I end up with using input box

Avi

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
Refedit retains focus avi Excel Programming 1 October 18th 07 10:29 AM
Refedit Retaining Focus Pflugs Excel Programming 3 June 30th 07 08:39 PM
To refedit, or not to refedit, that is the question. davegb Excel Programming 2 October 25th 06 08:19 PM
Repost:Excel not active / loses focus.Pls help! michael.beckinsale Excel Programming 1 August 2nd 06 08:41 AM
Macro that retains password. SpeeD72 Excel Programming 1 August 11th 03 01:34 AM


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