Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 166
Default Anyone know why this won't work


--
Private Sub Frame1_Click()

With Me.Frame1

Sel = Sel + 1
If Sel = 5 Then Sel = 0
Me.Frame1.PictureAlignment = Sel
..ScrollBars = fmScrollBarsVertical
..ScrollHeight = .InsideHeight * 2.5
..ScrollWidth = .InsideWidth * 9
End With

Me.Repaint
Me.Label2.Caption = Me.Frame1.PictureAlignment & " " & Sel

End Sub
--
Only when Sel = 0 does the picture show, UNLESS I remove
the scrollbar stuff. I've spent all day trying different methods
and nothing works !

Can you only have a scroll bar if PictureAlignment = 0 ?

I've just though of that - is that why ? ?? !!!

Thanks - Kirk
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
flash object dont work in my excel work sheet Nitn Excel Discussion (Misc queries) 0 July 4th 09 08:00 AM
HOW TO MAKE A LIST OF WORK SHEET IN WORK BOOK IN EXCEL 2007 goutam Excel Programming 1 February 1st 08 07:40 AM
If I have a work sheet protected and try to run a macro to hide rows or columns it won't work. Correct? Marc Excel Programming 2 July 12th 06 04:10 AM
Counting dates in multiple work sheets and work books Savage Excel Discussion (Misc queries) 0 December 19th 05 11:41 PM
Is there away to keep "auto save" from jumping to the first work sheet in the work book? Marc New Users to Excel 2 April 21st 05 01:27 AM


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