Microsoft Access Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMicrosoft Access Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old June 9th, 2004, 04:18 AM
Quadley Quadley is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 2 Quadley User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Output to Excel problem

I am trying to fix a database and excel application, which appears to have been written in Access97, but I am trying to get it working in Access2000.

Basically, this consists of a form that simply accepts a start and end date. This runs various queries on a single table, extracting particular records depending on dates on each record compared to the start and end dates entered into the form.

A macro, using OutputTo, then exports each of these tables as an Excel spreadsheet.

The problem is that one of these spreadsheets should contain just the start date entered in the form, but comes out blank. If I run the query manually it works fine, and gives me a list of cells each containing the start date. This is fine as Excel then works with the date in cell A2.

I've tried everything, but just cannot get the date to appear on the exported spreadsheet.

The only possible clue is that I exported it manually (if memory serves) and it worked, but doing it that way gave me more than one option for the type of excel spreadsheet to export as, whereas the macro only has the one option. Is there any way to change the version of Excel that Access exports the spreadsheets as?

Would be extremely grateful for any help.

Reply With Quote
  #2  
Old June 13th, 2004, 12:02 AM
smercer smercer is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 11 smercer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
If you linked the spreadsheet to a sheet and used vlookup to sort the data to where you want it, would this work for you?

Reply With Quote
  #3  
Old June 15th, 2004, 07:39 AM
Quadley Quadley is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 2 Quadley User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy

No, the date never gets to a spreadsheet, the spreadsheet produced has a heading of Expr1, but no date. Need the start date from the form to be exported from Access as an Excel spreadsheet.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMicrosoft Access Development > Output to Excel problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT