VBA
Discuss AutoCAD ActiveX and VBA (Visual Basic for Applications) questions here.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Reply
Message 1 of 4
Anonymous
178 Views, 3 Replies

Listbox

I need to place Column Headings into a list box. I am using a FoxPro
database and have populated the listbox with the field values but have been
unsuccessful adding the field.names into the column headings. In VB 6 there
is a ColumnHeadings item but it doesn't seem to be in VBA. Any suggestions.
Thanks in advance.

Tim
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: Anonymous

Use Labels on the form just above the Listbox?
--
John Goodfellow
irtf'nm
use 'microtouch' in address to email

"Tim Hanchin" wrote in message
news:9B2A0E1F84A7C0D65A237AF01E1E91A5@in.WebX.maYIadrTaRb...
> I need to place Column Headings into a list box. I am using a FoxPro
> database and have populated the listbox with the field values but have
been
> unsuccessful adding the field.names into the column headings. In VB 6
there
> is a ColumnHeadings item but it doesn't seem to be in VBA. Any
suggestions.
> Thanks in advance.
>
> Tim
>
>
Message 3 of 4
Anonymous
in reply to: Anonymous

any luck Tim?
-Sean J

"Tim Hanchin" wrote in message
news:9B2A0E1F84A7C0D65A237AF01E1E91A5@in.WebX.maYIadrTaRb...
> I need to place Column Headings into a list box. I am using a FoxPro
> database and have populated the listbox with the field values but have
been
> unsuccessful adding the field.names into the column headings. In VB 6
there
> is a ColumnHeadings item but it doesn't seem to be in VBA. Any
suggestions.
> Thanks in advance.
>
> Tim
>
>
Message 4 of 4
Anonymous
in reply to: Anonymous

Tim,

I forget the details but I tried it last year and came to the conclusion
that it couldn't be done in AutoCAD VBA. If I remember right it only works
in Excel's implementation of VBA, although it could have been that it would
only work if you were listing the contents of a databound excel spreadsheet.

Try searching the MSDN web site, http://msdn.microsoft.com

Glen


"Tim Hanchin" wrote in message
news:9B2A0E1F84A7C0D65A237AF01E1E91A5@in.WebX.maYIadrTaRb...
> I need to place Column Headings into a list box. I am using a FoxPro
> database and have populated the listbox with the field values but have
been
> unsuccessful adding the field.names into the column headings. In VB 6
there
> is a ColumnHeadings item but it doesn't seem to be in VBA. Any
suggestions.
> Thanks in advance.
>
> Tim
>
>

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


AutoCAD Beta