Hi Eric.
You can try do it trough DDE comunication.
Put into your mapbasic application or in mapbasic window following code:
dim a as Integer
dim ss as string
a = DDEInitiate( "Excel" , "System" )
ss = DDERequest$(a, "topics")
print ss
The Excel program must be executed before code run.
I hope this will help you.
Regards Stefan.
>
> Does anyone know of a way to retrieve a list of
> Sheets in an Excel spreadsheet from MapInfo?
>
> I suppose it may be possible to shell to Excel and
> have a macro that dumps the sheet names into a
> text file but I would imagine that might be slow..
>
> Anyone know of a more elegant solution?
>
> Thanks,
> Eric
>
>
>
>
>
>
> _______________________________________________________________________
> List hosting provided by Directions Magazine | www.directionsmag.com |
> To unsubscribe, send e-mail to [EMAIL PROTECTED] and
> put "unsubscribe MapInfo-L" in the message body.
>
_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.