Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Error populating a list box

thanks for the help. unfortunatelly your suggestion returns:

---------------------------
Microsoft Visual Basic
---------------------------
Compile error:

Method or data member not found
---------------------------
OK Help
---------------------------
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 208
Default Error populating a list box

Hi
The lack of ws reference might still be the problem. try
With ws
count = Application.count(.Range(.Cells(2, 1), .Cells(200, 1)))
Set rngSource = .Range(.Cells(2, 1), .Cells(count + 1, 2))
end With

Note the . in front of Range in both lines.

regards
Paul

On Jul 5, 2:23*pm, PA wrote:
thanks for the help. unfortunatelly your suggestion returns:

---------------------------
Microsoft Visual Basic
---------------------------
Compile error:

Method or data member not found
---------------------------
OK * 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
Error populating a list box PA[_2_] Excel Programming 1 July 5th 11 12:59 PM
.AddItem list and populating combobox with created list pallaver Excel Discussion (Misc queries) 8 June 27th 08 12:36 PM
Populating a List Box Eric Excel Programming 1 October 1st 07 04:23 PM
populating a list box enyaw Excel Programming 8 November 21st 06 03:30 PM
Populating dropdown list 2 with data depending upon what was selected in list 1 karambos Excel Programming 2 November 9th 04 05:32 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"