Solved

Preventing BIFF5 format when using OutputTo ...

Posted on 2000-04-17
9
398 Views
Last Modified: 2008-03-17
I'm using DOCMD.OUTPUTTO to export a table to an excel spreadsheet.
When looking at the sheet it's formatted in the so-called Biff5 format. This format proves to be the defailt also when doing a copy/paste from a datasheet/table from access (2000 and 97) to an opened Excel sheet.

Question: Can I set the default (outputto and copy/paste) format to plain text ?!
0
Comment
Question by:nico5038
  • 5
  • 4
9 Comments
 
LVL 14

Accepted Solution

by:
mgrattan earned 100 total points
ID: 2723785
Instead of using the OutputTo method, use the docmd.TransferSpreadsheet to create an Excel file or docmd.TransferText to create a text file.
0
 
LVL 54

Author Comment

by:nico5038
ID: 2723873
I'll try that right away , knowing you that will solve the problem of the "output to excel problem"!

But is it also possible to get rid of this format when using the copy/paste?
I know/use the "paste special" solution, but I would like to change the default to text, just being able to use the shortcut keys and getting rid of the extra paste-special-form.

I must say that I had never heard of the BIFF5 format before.
0
 
LVL 54

Author Comment

by:nico5038
ID: 2757298
docmd.TransferSpreadsheet did the trick to avoid the BIFF5 format.

Still puzzled about how to get rid of it when using ctrl-C and ctrl-V.

0
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 
LVL 14

Expert Comment

by:mgrattan
ID: 2757449
Nico,

Sorry buddy, I don't know of a good way to get the standard Copy/Paste functionality to generate straight text into Excel instead of BIFF5 format.

I'm thinking that it might be possible to use Windows API calls to handle the clipboard but that is probably overkill for a minor (in my opinion) problem.

Anyway, glad the TransferSpreadsheet and TransferText commands are working for you.

Regards,
Mike
0
 
LVL 54

Author Comment

by:nico5038
ID: 2757512
The fact that BIFF5 is showed (when using PASTE SPECIAL) in a listbox gave me the feeling it's determined somewhere from .dll's or other drivers, could however find no place to manipulate the contents of that listbox, nor the possibility to set a default.

It's not only to Excel but also to Word that the BIFF5 format is used, so it's known by the clipboard and ctrl+C takes it probably as default as it's the first entry in that Paste Special listbox.

But well, we can live with it as with so many other odd things.

See you !

Nico
0
 
LVL 14

Expert Comment

by:mgrattan
ID: 2757601
That makes me think that it might be a Registry entry---perhaps worthy of further investigation?

Later,

Mike.
0
 
LVL 54

Author Comment

by:nico5038
ID: 2758296
Good thinking, they're there in a CLASSES folder !
Gives at least a lead !
0
 
LVL 14

Expert Comment

by:mgrattan
ID: 2766301
Way to go Sherlock!  The mystery is afoot!  

Let me know if you get anywhere...I'm curious...
0
 
LVL 54

Author Comment

by:nico5038
ID: 2766723
OK dr Watson!
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How can you open the FORM2 2 30
Data Type Mismatch in Criteria - Access 6 28
Dcount using a date in a table compared to today's date 3 27
Reference Controls on subforms 7 26
Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now