CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • The file you are trying to open, ...xls, is in a different file file format...
Pages: [1]

Author Topic: The file you are trying to open, ...xls, is in a different file file format...  (Read 2054 times)

rhrueda

  • I post occasionally
  • **
  • Posts: 45
  • Karma: 0
  • CiviCRM version: 4.4.3
  • CMS version: Drupal Pressflow 6.22
  • MySQL version: 5.5.22
  • PHP version: 5.3.10
The file you are trying to open, ...xls, is in a different file file format...
July 02, 2014, 02:42:53 am
Hi,

When we perform an "Export contacts" to excel from a search result (contacts for instance), we get this message when Excel tries to open the file:

The file you are trying to open "example.xls" is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now?

I wonder in what format civiCRM is exporting, and if thereĀ“s a way to avoid this message (downloading in the correct format ideally)  ???

Thanks!

joanne

  • Administrator
  • Ask me questions
  • *****
  • Posts: 852
  • Karma: 83
  • CiviCRM version: 4.4.16
  • CMS version: Drupal 7
Re: The file you are trying to open, ...xls, is in a different file file format...
July 02, 2014, 02:57:18 am
CiviCRM exports are CSV files.   As an open source project it doesn't make sense to export in a Microsoft format.  I have no trouble opening them in excel.

rhrueda

  • I post occasionally
  • **
  • Posts: 45
  • Karma: 0
  • CiviCRM version: 4.4.3
  • CMS version: Drupal Pressflow 6.22
  • MySQL version: 5.5.22
  • PHP version: 5.3.10
Re: The file you are trying to open, ...xls, is in a different file file format...
July 02, 2014, 03:29:50 am
Thanks for your quick answer.

Then why the extension is xls instead csv?

joanne

  • Administrator
  • Ask me questions
  • *****
  • Posts: 852
  • Karma: 83
  • CiviCRM version: 4.4.16
  • CMS version: Drupal 7
Re: The file you are trying to open, ...xls, is in a different file file format...
July 02, 2014, 04:25:03 am
I am on Windows 7 and when I export in Firefox, Chrome or IE the file has the extension .csv .   

I think you must have configured a setting somewhere in your browser so that .cvs files are saved automatically as .xls files when they are downloaded (or you are saving the file as .xls after the download without realising you are doing it).

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • The file you are trying to open, ...xls, is in a different file file format...

This forum was archived on 2017-11-26.