Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Where do the header columns come from in a form?

Help!! Driving me crazy. Bit new to forms and the like, trying to
reverse engineer a bit of VBA. There's a form called
frmFaxRoomingLists. When I click on it the ListView is just a blank
white box but when it opens there are column headers (hotel,
telephone, fax number etc) and for the life of me I can't work out how
these headers appear. I've stepped through the code that displays it
and I can't see anything there, and I can't see anything in the
properties. But they must come from somewhere. Help!!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Where do the header columns come from in a form?

It is probably added either by the RowSource property of the form or by the
add.list or add.item methods in the initialize event of the UserForm. To
check for the RowSource property, open the VBE by pressing Alt + F11. In if
the form does not appear in the code windo then find it in the Project window
on the left and click it to display it. Then click the control on the form
that displays the list. The properties window should be displayed at the
lower left where you can scroll to find Row Source which will give you the
location of the items that show when the form is loaded. If there is no
entry in the Row Source line then double click the form and it should display
the code module where you can look for the UserForm_Initialize macro. It
should then identify how the items are added.

"ajnmx" wrote:

Help!! Driving me crazy. Bit new to forms and the like, trying to
reverse engineer a bit of VBA. There's a form called
frmFaxRoomingLists. When I click on it the ListView is just a blank
white box but when it opens there are column headers (hotel,
telephone, fax number etc) and for the life of me I can't work out how
these headers appear. I've stepped through the code that displays it
and I can't see anything there, and I can't see anything in the
properties. But they must come from somewhere. Help!!

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
How to print one header over several columns of data column title print Excel Discussion (Misc queries) 1 May 28th 10 01:30 AM
Header Columns Doug Excel Discussion (Misc queries) 2 October 6th 09 09:53 AM
How do I create and name header rows and columns? R9166 New Users to Excel 3 August 30th 05 02:48 AM
Referrencing columns by header and from different worksheets [email protected] Excel Programming 0 April 8th 05 10:31 PM
Can I have a user form with no Header/Caption Bar ? RandyDtg1 Excel Programming 4 September 5th 04 10:09 PM


All times are GMT +1. The time now is 07:06 PM.

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"