ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Create ListBox (?) same as Find all Result List (https://www.excelbanter.com/excel-programming/278574-create-listbox-same-find-all-result-list.html)

Soniya

Create ListBox (?) same as Find all Result List
 
Hi All,

How Can I make a control similar to Find all List in
Excel Find and Replace results.

With My own Heading and able to increase / decrease
column width same as Find all Results.

What i am doing is to get a list from my database based
on textbox1.text

i should have a heading with name, amount, recno, remarks
and data listed below. i have the code to get this result
in a listbox without heading and column seperation.

TIA
Soniya

Tom Ogilvy

Create ListBox (?) same as Find all Result List
 
You can not have column headings in a listbox unless you use the rowsource
property. You would need to write your found data to a temporary area on a
worksheet and assign the rowsource property to it.

--
Regards,
Tom Ogilvy


"Soniya" wrote in message
...
Hi All,

How Can I make a control similar to Find all List in
Excel Find and Replace results.

With My own Heading and able to increase / decrease
column width same as Find all Results.

What i am doing is to get a list from my database based
on textbox1.text

i should have a heading with name, amount, recno, remarks
and data listed below. i have the code to get this result
in a listbox without heading and column seperation.

TIA
Soniya





All times are GMT +1. The time now is 12:13 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com