473,394 Members | 1,721 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

how to sort output of transferspreadsheet function?

I am transferring data from access table to excel 2003 as a pivot table.how do i sort the output using vba access when the columns to be sorted are date columns?
Oct 18 '10 #1
1 1934
nico5038
3,080 Expert 2GB
Go into SQL textmode and add an Order By clause.
You can use the columns sequence number, Access wil "know" when it's a date.

Like: select * from tblX Order By 2, 3

Nic;o)
Oct 18 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: shumaker | last post by:
I have a form in an Access Project that displays some records, and based on the displayed records I'd like to output this to an excel file, but I need to write more fields of the record than are...
0
by: dhnriverside | last post by:
Hi peeps, I had a function working fine for retrieving a list of users from Active Directory. However, client wants it sorted alphabetically. So I added Sort option to my searcher, and now the...
1
by: Ron St-Pierre | last post by:
Whenever I run certain functions, such as the example below, the output is either displayed in the terminal or emailed to be by cron, depending on how I run it. Is there any way I can re-write the...
4
by: Ben Holness | last post by:
Hi all, I have a function, say: function printTable($Variables) { ?> <table> <tr><td>Your name is</td></tr> <tr><td>
0
by: Dave | last post by:
Ok...here's a good one. I wrote an ADP application in ACCESS XP with a SQL 2000 back end. Works Great! Recently we did a server migration and transfered the database to another server. Setup...
5
by: Dave | last post by:
Ok...here's a good one. I wrote an ADP application in ACCESS XP with a SQL 2000 back end. Works Great! Recently we did a server migration and transfered the database to another server. Setup...
1
by: is49460 | last post by:
Hello! I have a shared database that will be used by about 50 different people or so. one of the functionalities that i have to have is to produce an output into excel file. if i use the same...
2
by: kaushal | last post by:
i am trying to sort the strings without the functions ..but i can't bcz i can't trace out the javascript program...so need ur help..
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.