Skip to Content
author's profile photo Former Member
Former Member

Embed 5 queries in 5 sheets in workbook

Hi All,

I need step by step instructions on embedding different 5 queries in the same workbook but on different sheets (tabs). Like if the workbook is refereshed, then it should refresh all tabs with current data.

I will appreciate and assign full points.

azid123@yahoo.com.

Add comment
10|10000 characters needed characters exceeded

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 02, 2006 at 03:18 PM

    Hi Toja

    Run ur 1st query after getting the results save it as new workbook.then each sheet insert remanining queries by selecting tools -> insert query then save it

    go to olapfunctions for active cell icon select properties there tick ur check box refresh query when opening work book click on ok for all queris.

    then go to tools icon select all queries in workbook remove results click on ok then save it.

    assign points if helpful.

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 02, 2006 at 02:49 PM

    Hi Toja,

    First execute query one. So it will appear embedded on sheet 1 of a workbook. Goto sheet 2 and place your cursor on the top left cell (important to place the cursor as the query inserts at the cell you have selected)> fromthe menu Tools > Insert Query. Select your second query. Similarly do this on sheet tabs 3, 4 and 5. Then right click on a report cell and choose properties > On the Interaction tab > Refresh Query When opening workbook > Ok for all Queries.

    Hope this helps...

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 02, 2006 at 02:50 PM

    Hi Toja,

    1. Execute a query, click on Disk Icon and select Save as New Workbook.

    2. Insert/Change sheet in the same excel file, click on Tool Icon and select Insert Query. Execute the new query, then select once again the disk icon and select:save existing Workbook.

    3. Repeat this for all your queries.

    4. Right click on the Query area and select "automatic refresh when opening" option. Do this for all the queries.

    Bye

    Dinesh

    Add comment
    10|10000 characters needed characters exceeded