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: 206
Default user form and frame control

in my user form i have 9 frames walking the user through the appropriate steps.

in the setup of the frames i am using the following code:

<BEGIN VB CODE
counter = 0
For Each o In Me.Controls()
counter = counter + 1
If TypeOf o Is Frame Then
o.Move 0, 0, 306, 294
o.Visible = False
End If
Next
msgbox counter
<END VB CODE

this code loops 79 times!!!

i created this form from scratch and added the frames one by one -
occasionally when dragging the frames around, one frame got put inside
another. i used CTRL+Z to undo the move.

any ideas why this would loop 79 times?
 
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
MAKE WHEEL MOUSE WORK ON USER FORM FRAME WITH SCROLL BAR HELP!!!!! Kenjaro Excel Programming 0 February 8th 05 02:53 AM
User Form - frame scroll with wheel mouse and cut & paste from tex Kenjaro Excel Programming 3 February 8th 05 02:31 AM
User Form Frame size Joe Derr[_2_] Excel Programming 0 October 11th 04 09:46 AM
Spreadsheet Control on User Form Paul Worthington Excel Programming 0 June 29th 04 03:09 PM
Control Order on User Form AKoodray Excel Programming 4 December 30th 03 09:30 PM


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