Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default problem with tables in excel

Hi Everyone,

I tried posting this question on
microsoft.public.vc.database but got no response, perhaps
this problem is better suited for this forum.

I am trying to query an excel file from visual c++ and
display it's contents on a listview control. I have found
that if I first create the excel file in visual c++ and
then try to open the file and display contents, everything
works well. However if I try to open a file that I have
not initially created through vc++, then I get an error
saying the table in the file I requested could not be
found.

That is in case one, I create a table in a excel file
called "test" and then I query table "test". In the second
case I assume the table name is "sheet1" and my query
fails. My question is if an excel file is treated as a
database then where are the table names defined? And if
table names are indeed synonymous to Worksheets in Excel,
do you know what else could be causing the problem?

Thanks in Advance!!

error message:
Microsoft Jet database engine could not find the
object 'mytablename'. Make sure the object exists and that
you spell its name and path name correctly.

ps. sorry if this gets posted twice, the message doesnt
seem to be uploading to the newsgroup
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
Problem with pivot tables jimbo Excel Worksheet Functions 1 May 27th 11 01:09 PM
Pivot tables problem Amin Excel Discussion (Misc queries) 1 April 26th 10 02:57 PM
Localisation problem with pivot tables Daniel Hilgarth Setting up and Configuration of Excel 2 May 29th 08 07:04 AM
fortnightly payments problem in Excel Amortization tables? tonyboy Excel Discussion (Misc queries) 2 February 14th 07 01:46 AM
Please help: Pivot Tables problem James Yeang Excel Discussion (Misc queries) 5 April 25th 06 01:45 AM


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