Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 47
Default Started something simple - Now really confused ??

Hi;

I wanted to load a list of contols from a userform into a blank worksheet
for later printing. I want to use it as a personal checklist that I haven't
forgotten to fix or change somethings. I wrote a short procedure. Now I
have spent an inordinate amount of time trying to get the procedure to work.

What I want is something like:

sub controlslist()
List control names & TabIndexes but exclude lables
For userform 'NewMembForm'
Put each name and TabIndex side by side in separet cells
in a vertical list in a worksheet
End Sub

I am now working, using random attempts to make this work.
So I decided to stop and ask.

Regards Bill

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default Started something simple - Now really confused ??

would something like this get you started?

Sub cntrls()
Dim i As Long
Dim Ctl As msforms.Control
i = 1
For Each Ctl In UserForm1.Controls
Range("A" & i).Value = Ctl.Name
i = 1 + 1
Next
End Sub

--


Gary


"Bill Case" wrote in message
...
Hi;

I wanted to load a list of contols from a userform into a blank worksheet
for later printing. I want to use it as a personal checklist that I haven't
forgotten to fix or change somethings. I wrote a short procedure. Now I
have spent an inordinate amount of time trying to get the procedure to work.

What I want is something like:

sub controlslist()
List control names & TabIndexes but exclude lables
For userform 'NewMembForm'
Put each name and TabIndex side by side in separet cells
in a vertical list in a worksheet
End Sub

I am now working, using random attempts to make this work.
So I decided to stop and ask.

Regards Bill



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
Am confused about a simple data layout- need help asap! waldetta Charts and Charting in Excel 1 February 24th 10 11:11 PM
Getting started tab saphire New Users to Excel 7 June 12th 07 08:57 PM
Getting started on a Mac [email protected] Excel Programming 0 March 12th 06 05:04 AM
Need help getting started phreud[_25_] Excel Programming 3 November 18th 04 01:13 PM
Need help getting started phreud[_26_] Excel Programming 0 November 18th 04 12:45 PM


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