Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 112
Default Combobox data from Database

How do I populate a Combobox from an Excel Database without
displaying the header of the database column.
Regards
Mats
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Combobox data from Database

Assume the Column has the header in H1

Dim rng as Range
set rng = Range(Range("H2"),Range("H2").End(xldown))
Me.Combobox1.List = rng.Value

--
Regards,
Tom Ogilvy

"Mats Samson" wrote in message
...
How do I populate a Combobox from an Excel Database without
displaying the header of the database column.
Regards
Mats



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 112
Default Combobox data from Database

Thanks Tom, it helped!
Regards
Mats

"Tom Ogilvy" wrote:

Assume the Column has the header in H1

Dim rng as Range
set rng = Range(Range("H2"),Range("H2").End(xldown))
Me.Combobox1.List = rng.Value

--
Regards,
Tom Ogilvy

"Mats Samson" wrote in message
...
How do I populate a Combobox from an Excel Database without
displaying the header of the database column.
Regards
Mats




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
database query not showing foxpro database How I import data mangat New Users to Excel 1 June 24th 07 03:31 PM
Combobox and data validation GlenC Excel Discussion (Misc queries) 2 September 13th 06 06:52 PM
data validation vs combobox paul Excel Discussion (Misc queries) 4 October 24th 05 11:42 PM
ComboBox data SSHO_99 Excel Worksheet Functions 2 March 15th 05 01:35 PM
Using Filtered Data for ComboBox cdos Excel Programming 1 July 2nd 04 03:22 AM


All times are GMT +1. The time now is 04:10 AM.

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"