Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-01-2013, 01:06 AM
ArviL ArviL is offline SEMICOLONseparated Windows 7 64bit SEMICOLONseparated Office 2007
Novice
 
Join Date: Feb 2013
Posts: 11
ArviL is on a distinguished road
Default

A. Set Window's regional settings to some, where semicolon is a list separator (German, Estonian, etc.). (Maybe it will work also, when you set the list separator for your current regional settings to semicolon.) Open your workbook, be sure that the worksheet you want to convert is only one in workbook or at least the first one. Save AS CSV (Comma Delimited).



B. This works when you don't have any commas in your current entries. Open your workbook, be sure that the worksheet you want to convert is only one in workbook or at least the first one. Save AS CSV (Comma Delimited) and close the csv-file. Open the csv-file with notepad, and replace all commas with semicolons. Save.
Reply With Quote
  #2  
Old 03-01-2013, 01:10 AM
macropod's Avatar
macropod macropod is offline SEMICOLONseparated Windows 7 64bit SEMICOLONseparated Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by ArviL View Post
A. Set Window's regional settings ....
That's all very well, but the OP hasn't said the aim is to produce a text file. Besides he's using a Mac, which probably means he's not using Windows and, even if he were, mucking around with the Window's regional settings is not to be lightly advised.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 03-01-2013, 01:35 AM
ArviL ArviL is offline SEMICOLONseparated Windows 7 64bit SEMICOLONseparated Office 2007
Novice
 
Join Date: Feb 2013
Posts: 11
ArviL is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
That's all very well, but the OP hasn't said the aim is to produce a text file.
After his regional settings are set back again, when he opens the csv-file from Excel and saves it as Excel file, all entries will be in column A - separated with semicolons.
Quote:
Besides he's using a Mac, which probably means he's not using Windows and, even if he were, mucking around with the Window's regional settings is not to be lightly advised.
This leaves him with the variant B then. Btw. even when his entries originally contain commas, then there is a workaround. Before saving the table as csv-file, he has to replace all commas with some other (unused) chartacter, p.e. "_". And after opening the csv-file and saving it to Excel format, he has to replace this character with comma everywhere again.
Reply With Quote
Reply



Other Forums: Access Forums

All times are GMT -7. The time now is 09:27 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft