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

Hello,

My refedit control should release focus (by a refedit_exit event) in
order to enable populating a listbox after the range on the refedit
has been updated

The problem is that after updating the refedit range, the refedit
retains focus. I tried change_event, but it prevents the updating the
refedit .

Any idea?

Thanks a lot
Avi

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default Refedit retains focus

It would help to answer this if you could give us some context by including
the code snippet that makes use of the refedit.
Have you tried including a line in your refedit_exit event code to either
pass the focus to another control or to select a cell reference? Eg:
UserForm1.ListBox1.SetFocus

"avi" wrote:

Hello,

My refedit control should release focus (by a refedit_exit event) in
order to enable populating a listbox after the range on the refedit
has been updated

The problem is that after updating the refedit range, the refedit
retains focus. I tried change_event, but it prevents the updating the
refedit .

Any idea?

Thanks a lot
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 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
Saveas on Template retains existing name! Brent Fidler Excel Programming 0 May 21st 04 10:00 PM
Templaste SaveAs retains existing name Brent Fidler Excel Programming 0 May 18th 04 05:58 PM
Macro that retains password. SpeeD72 Excel Programming 1 August 11th 03 01:34 AM


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