I've created a stored procedure on my SQL Server that generates this unique report table. Once a user selects their search criterias, it sends the values in a Request.Form to the frameset page (which consists of 2 frames (menu search frame & the record display page). The record page uses those Request var to call the stored procedure to create the report table in the SQL Serve, and then creates a sql query from that report table & displays it on the browser. Once it is displayed, the display page then sends the same Request to the menu page so it can instantly receive & stores the data and fields (for the sole purpose of sorting & filtering the display page). The values/data of the display page changes, BUT the menu page keeps the original values/data. The display page consist of a javascript code that is used the 1st time it receives the request, but it's not used after a user hits the sorts/search from the menu ro redisplay the display page.
All this shouldn't be explained, since I only need to know is how to "select all" the tabular data from the display page & paste into excel. When I paste into excel, it looks perfect except that a "j"avascript icon is pasted into the excel. A note: The 1st time the display page is loaded there's that "j"avascript icon pasting problem, BUT once the display page is reloaded after a search/sort hit from the menu page.. the copy and paste works perfect (no "j"avascript icon.. hooray).
ok... it's along explanation, but hopefully there's some clarity in it :/