vba - How to create customized cvs files from excel? -


i linguist, not programmer or excel guru.

i have excel file this:

  • a column: master language (en_us, en_gb etc)
  • b column: english master sentence
  • c column: translation of x language. , first row has language code (de_de)
  • d, e, f... columns: translation of each , different languages.

the number of lines unlimited. need create tab delimited utf-8 csv files that:

en_us \t english master sentence in row 2 \t de_de \t translation in row 2  en_us \t english master sentence in row 3 \t de_de \t translation in row 3 
  • en_us retrieved column a.
  • \t tab.
  • english master sentence retrieved column b.
  • de_de in first row of each relevant column.
  • translation retrived relevant column.

i stuck that. have either option of doing manually each language or having macro after preparing excel.

if want open text file output , cycle through worksheet , output each row csv, you'll need open file output, cycle through sheet next loop, building csv rows print statements. see "how write in txt file vba" (put "22907176" in search bar @ top of page) started. tab chr(9), you'll use statement such as

print #1, cells(counter,1) & chr(9) & cells(counter,2)  

is you're after?


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -