Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Excel Combo Box & Web Service

Hello

How can I load the values from a web service to combo box in excel ?
The web service returns a dataset with ID and TEXT

Thank you

Athan


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Excel Combo Box & Web Service

define returns.

Is it held in an array. Is it placed on a worksheet. It is stored in a
file?

--
Regards,
Tom Ogilvy

"Athan" wrote in message
...
Hello

How can I load the values from a web service to combo box in excel ?
The web service returns a dataset with ID and TEXT

Thank you

Athan




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Excel Combo Box & Web Service

The dataset is held in an array,

I don't know how to place it on a worksheet, and bind it to the combo box

Thank you

Athan


"Tom Ogilvy" wrote in message
...
define returns.

Is it held in an array. Is it placed on a worksheet. It is stored in a
file?

--
Regards,
Tom Ogilvy

"Athan" wrote in message
...
Hello

How can I load the values from a web service to combo box in excel ?
The web service returns a dataset with ID and TEXT

Thank you

Athan






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Excel Combo Box & Web Service

assume the array name is v

lb1 = lbound(v,1)
lb2 = lbound(v,2)
ub1 = ubound(v,1)
ub2 = ubound(v,2)
set rng = range("A1").Resize(ub1-lb1+1,ub2-lb2+1)
rng.Value = v
ActiveSheet.Combobox1.ListFillRange = rng.Address(external:=True)


--
Regards,
Tom Ogilvy

"Athan" wrote in message
...
The dataset is held in an array,

I don't know how to place it on a worksheet, and bind it to the combo box

Thank you

Athan


"Tom Ogilvy" wrote in message
...
define returns.

Is it held in an array. Is it placed on a worksheet. It is stored in a
file?

--
Regards,
Tom Ogilvy

"Athan" wrote in message
...
Hello

How can I load the values from a web service to combo box in excel ?
The web service returns a dataset with ID and TEXT

Thank you

Athan








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
Excel calling WCF service K. Wilder Excel Discussion (Misc queries) 0 February 25th 10 10:52 PM
Can a service account be embedded in Workbook so that by default the macros are run with service account credentials and not the user credentials??? Divya Sanam Excel Discussion (Misc queries) 0 July 20th 06 05:15 PM
How do I run Excel as a service? Walter Setting up and Configuration of Excel 1 November 9th 05 06:22 AM
Excel as a service ? Alex T Excel Programming 0 September 1st 04 09:30 AM
Difference between a Service Release and a Service Pack? Bill Renaud[_2_] Excel Programming 2 April 16th 04 04:13 AM


All times are GMT +1. The time now is 09:07 PM.

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"