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: 13
Default Yet more problems with Excel forms :(

I'm using a form to maintain a data list in Excel and the list box click
event sets the scroll bar value to its index even when the click event hasnt
even happed, infact the only way to change the scrolbars value is to click
on the list box, If you click on the scroll bar it must also be triggering
the list box click event....is this a fault in the software perhaps ?

I fixed it by using the mouse down event on the list box and sure enough
everything works fine so its not my code :(

Private Sub lstCastNav_Click()
scrNav.Value = lstCastNav.ListIndex + 1
End Sub

Private Sub scrNav_Change()
If doSave = True Then
Call SaveRecord
End If
Set rgData = Range("cast_name").Rows(scrNav.Value)
Call LoadRecord
doSave = True
lstCastNav.RowSource = "CastFnames" 'maybe this is triggering a listbox
click event ?
End Sub

I'm really annoyed about this and other problems with Excel forms because
I've always asumed that Microsoft make rock solid reliable products, When
it comes to Excel this does not seem to be the case.

If anyone wants to try to reproduce this problem on their computer in order
to see if this software fault also occurs with their installation of
Microsoft Office please go ahead and have a go, I would actually quite like
to believe that there is something wrong with my PC rather this being an MS
Office problem. I have installed all of the MS Office patches.
--
Richard Finnigan
Work Website http://www.ict-action.com
Homepage http://www.richardsthings.co.uk
Hobby Webpage http://www.closeimage.co.uk


 
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
RefEdits and normal forms / forms in a DLL David Welch Excel Programming 0 December 1st 04 03:49 PM
Problems merging an excel file due to code or file problems? Cindy M -WordMVP- Excel Programming 0 September 14th 04 02:58 PM
Embedded VB Forms Font Problems afiack Excel Programming 2 August 10th 04 08:28 PM
Calling Forms from Forms - Exit problems Stuart[_5_] Excel Programming 3 May 25th 04 06:50 AM
excel forms paer Excel Programming 0 September 15th 03 03:27 AM


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