Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 56
Default XML Sort Question

Say I have imported an XML table into Excel. I then sort the table by a
certain column. When I refresh the table, will this sort criteria be
preserved, i.e. will the new data again be sorted by the column I've
previously selected? Or will the table simply be arranged in whatever order
the data is retrieved, thereby requiring me to manually sort it again?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default XML Sort Question

I don't know, but I doubt it. It didn't with an Access table.
Why not test it.

If it doesn't come in sorted as you wish, why not add an Order By command to
your sql (in the query).

--
Regards,
Tom Ogilvy

"Shatin" wrote in message
...
Say I have imported an XML table into Excel. I then sort the table by a
certain column. When I refresh the table, will this sort criteria be
preserved, i.e. will the new data again be sorted by the column I've
previously selected? Or will the table simply be arranged in whatever

order
the data is retrieved, thereby requiring me to manually sort it again?




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 56
Default XML Sort Question

Thanks for your reply, Tom.

The XML table was inserted into the worksheet using Data|Import External
Data|New Web Query from the menu bar and not with VBA. So I don't have any
idea how to add an Order By command to the query.

In fact, now that I have the table, I don't know where I can get back my
original URL. When I right-click on the table and choose XML|XML Source, I
got a panel showing XML Maps, not my URL for getting the XML table.

"Tom Ogilvy" wrote in message
...
I don't know, but I doubt it. It didn't with an Access table.
Why not test it.

If it doesn't come in sorted as you wish, why not add an Order By command

to
your sql (in the query).

--
Regards,
Tom Ogilvy

"Shatin" wrote in message
...
Say I have imported an XML table into Excel. I then sort the table by a
certain column. When I refresh the table, will this sort criteria be
preserved, i.e. will the new data again be sorted by the column I've
previously selected? Or will the table simply be arranged in whatever

order
the data is retrieved, thereby requiring me to manually sort it again?






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
Sort Question dwake Excel Discussion (Misc queries) 5 May 4th 10 05:32 PM
A question (sort of) Joe C Excel Discussion (Misc queries) 4 January 24th 08 03:03 PM
Sort question?? SAM SEBAIHI Excel Discussion (Misc queries) 0 November 29th 06 02:03 AM
Sort question pgruening Excel Discussion (Misc queries) 0 May 18th 06 08:22 PM
sort question Romi Excel Discussion (Misc queries) 1 June 16th 05 11:25 PM


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