Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Paste this code in a standard module and point it to your userform.
Sub UserformDoc() For Each Control In UserForm1.Controls With Control Debug.Print .Name Debug.Print .Top Debug.Print .Left Debug.Print .Height Debug.Print .Width End With Next End Sub "DavidP" wrote in message ... I am creating a form which will have quite a few components, frames, option buttons, Command boxees etc. When I have done similar things in VB it was easy to print an inventory of the module with all the relevant details of the components. e.g. for option buttons you could see the names, height, width, top, font etc. Can this be done with excel VBa. I haven't a clue how to start but I assume it would have to be a macro. If this is the case could someone give me a starter outline please. I don't mind if the info is on a created excel sheet or on to a new print file. Ideally for every component in my user form I would like to print say the height, width and top for starters. If someone could start me on that I think I should be able to work out the rest for other properties Thanks DavidP |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
User Form Information | Excel Discussion (Misc queries) | |||
How do I put my information form Excel into a Word Merge Form? | Excel Discussion (Misc queries) | |||
Linking information form one worksheet to another | Excel Discussion (Misc queries) | |||
I created a form on excel. want to edit the form without printing | Excel Discussion (Misc queries) | |||
How can I have information from a form I created to automatically. | Excel Discussion (Misc queries) |