Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default Parameter query troubleshooting: Empty cell issue

I have a workbook with a data tab and a results tab. In the data tab is a
list of IDs. The results tab takes each ID individually and uses a parameter
web query and returns the table related to that ID from a particular webpage.


Each time I open the workbook I plan on pasting a completely different set
of IDs on the data tab. The results page is set up to look up the first 250
entries on the data tab, but often times the data tab has far fewer that 250
entries. For example if only 50 entries are made, Excel does not like that I
have parameter queries set up that reference a blank cell.

What can I do so that Excel does not have an issue with the blank cells?
The error message reads "This Web query returned no data. To modify the
query, click OK, click the name of the external data range in the name box on
the formula bar, and then click Edit Query on the External Data toolbar."

I am using the text editor to help me with a parameter query in Excel.
Looks like

WEB
1
http://website.com/page/id.aspx?id=["id","enter id:"]
Selection =1

This is my first go around with parameter queries, and I have searched far
and wide for a solution to this problem.

Thanks for your expertise.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default Parameter query troubleshooting: Empty cell issue

Anyone have any ideas?



"trey1982" wrote:

I have a workbook with a data tab and a results tab. In the data tab is a
list of IDs. The results tab takes each ID individually and uses a parameter
web query and returns the table related to that ID from a particular webpage.


Each time I open the workbook I plan on pasting a completely different set
of IDs on the data tab. The results page is set up to look up the first 250
entries on the data tab, but often times the data tab has far fewer that 250
entries. For example if only 50 entries are made, Excel does not like that I
have parameter queries set up that reference a blank cell.

What can I do so that Excel does not have an issue with the blank cells?
The error message reads "This Web query returned no data. To modify the
query, click OK, click the name of the external data range in the name box on
the formula bar, and then click Edit Query on the External Data toolbar."

I am using the text editor to help me with a parameter query in Excel.
Looks like

WEB
1
http://website.com/page/id.aspx?id=["id","enter id:"]
Selection =1

This is my first go around with parameter queries, and I have searched far
and wide for a solution to this problem.

Thanks for your expertise.

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
Convert hard coded query criteria to Parameter Query Melanie[_2_] Excel Discussion (Misc queries) 0 July 15th 08 09:59 PM
Code to Query SQL Server with a parameter value (entered into an Input Box), and have that value also display in a selected cell on a worksheet Doctorjones_md Excel Worksheet Functions 3 June 27th 07 04:14 PM
How to choose if I use a parameter or not in a parameter query Arnaud Excel Discussion (Misc queries) 0 March 8th 07 01:19 PM
Parameter Query Cell substitution Jockel Excel Discussion (Misc queries) 2 December 8th 06 04:28 PM
Microsft Query: Excel, date parameter cell doesn't work. Ronco Excel Discussion (Misc queries) 5 April 27th 06 12:23 AM


All times are GMT +1. The time now is 08:18 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"