Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Editing Queries in Excel 2000

Hi All,
I have a couple of queires that get data from an
Access database and a text file on the network and display
in an excel spreadsheet.
I wanted to add new columns to these queries. I
positioned the new columns where I wanted. But the problem
is when data refreshes, the new columns are added to the
end of list of columns, instead of the position I wanted.
But when I remove the query and create a new query
with the new no.of columns, it worked. But to do this is
really painful, as I will have to redo all my page formats
etc.
Is their any workaround for this ?

Thank you all in advance.

Ravi
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 459
Default Editing Queries in Excel 2000

Rather than trashing your existing query, have you tried editing the
SQL and adding the new columns in the SELECT clause in the positions
you want?

--

"Ravi" wrote in message ...
Hi All,
I have a couple of queires that get data from an
Access database and a text file on the network and display
in an excel spreadsheet.
I wanted to add new columns to these queries. I
positioned the new columns where I wanted. But the problem
is when data refreshes, the new columns are added to the
end of list of columns, instead of the position I wanted.
But when I remove the query and create a new query
with the new no.of columns, it worked. But to do this is
really painful, as I will have to redo all my page formats
etc.
Is their any workaround for this ?

Thank you all in advance.

Ravi

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 459
Default Editing Queries in Excel 2000

The problem couldn't be you are using SELECT * in your queries rather
than specifying the column names, could it?!

--

"Ravi" wrote in message ...
Hi All,
I have a couple of queires that get data from an
Access database and a text file on the network and display
in an excel spreadsheet.
I wanted to add new columns to these queries. I
positioned the new columns where I wanted. But the problem
is when data refreshes, the new columns are added to the
end of list of columns, instead of the position I wanted.
But when I remove the query and create a new query
with the new no.of columns, it worked. But to do this is
really painful, as I will have to redo all my page formats
etc.
Is their any workaround for this ?

Thank you all in advance.

Ravi

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
Editing Queries In Excel 2007 T Stephens[_2_] Excel Worksheet Functions 1 April 14th 09 07:08 PM
Editing Comments - Excel 2000 LPS Excel Discussion (Misc queries) 4 September 25th 06 05:49 PM
How can I protect a worksheet yet allow editing in Excel 2000 jimar Excel Discussion (Misc queries) 1 August 26th 05 11:25 AM
Hyperlink in Excel 2000 can't open bookmarked Word 2000 file DCheslock Excel Discussion (Misc queries) 1 May 5th 05 10:46 PM
ExcelXP 10 times slower than 2000 on web queries. TH[_3_] Excel Programming 1 July 31st 03 01:21 AM


All times are GMT +1. The time now is 07:48 AM.

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"