LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default SQL.REQUEST #N/A error

I have typed the following string into a cell in Excel
=SQL.REQUEST("DSN=Excel Files;DBQ=C:\Test SQL\test.xls", B1, 1, "Select * from sheet1", TRUE
The cell shows "#N/A". I am expecting it to return the values from the "Test" spreadsheet to the spreadsheet where I typed the sql command. What am I doing wrong

Also, is there somewhere to look for examples and tips on this command and sql syntax?
 
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
If then request bpc Excel Worksheet Functions 1 September 22nd 09 06:35 PM
Request Woodi2 Excel Discussion (Misc queries) 0 March 14th 08 03:37 PM
sql.request teepee Excel Discussion (Misc queries) 2 December 30th 05 01:34 PM
sql.request Nikon Excel Worksheet Functions 1 November 10th 04 12:05 PM
Add-on to last request Pepe[_2_] Excel Programming 0 January 15th 04 02:25 PM


All times are GMT +1. The time now is 01:09 AM.

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"