ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   getting row and coloumn info from listfillrange (https://www.excelbanter.com/excel-programming/334624-getting-row-coloumn-info-listfillrange.html)

michdan[_2_]

getting row and coloumn info from listfillrange
 

hi

I have a listbox that takes the data from another worksheet.

I have to be able to add coloumns to this worksheet and therefore I
have to update the listbox1.listcount.

The listbox1.listfillrange will automatically be updated if I add a row
or add a coloumn to this worksheet.

But how can I get the info about how many coloumns that are in the list
now ??

The listbox1.listcount property isn't updated automatically...... :(


--
michdan
------------------------------------------------------------------------
michdan's Profile: http://www.excelforum.com/member.php...o&userid=25218
View this thread: http://www.excelforum.com/showthread...hreadid=387462



All times are GMT +1. The time now is 03:45 PM.

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