LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 300
Default Setting focus on User Form Listbox

I have a Listbox on a User Form. Another form has gotten the user's
selection. I then transfer their selection to this Listbox with:

lbxTerr.Selected(i) = True

But the focus inside the Listbox is still on the first item. This isn't a
big deal, but I'd rather not have the faint dashed line around the first
selection. So what puts the focus on the item that I just set to true?

Don <www.donwiss.com (e-mail link at home page bottom).
 
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
set focus on user form jhahes[_2_] Excel Programming 1 June 1st 05 09:26 PM
User Form focus Glen Mettler[_2_] Excel Programming 3 October 10th 04 05:31 PM
Modeless User Form and Worksheet Focus JWolf Excel Programming 2 May 26th 04 08:27 PM
Setting form controls focus and enter key John T Ingato Excel Programming 1 October 6th 03 05:13 PM
Text Box on User Form Set Focus Issue John Flynn Excel Programming 0 September 6th 03 02:41 PM


All times are GMT +1. The time now is 09:50 PM.

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"