Hi Statalisters,
I am trying to find a way to transfer the entire content from a log file into excel in such a way that it retains the stata formatting. When I try copy and pasting the entire log file the formatting gets messed up and I end up with one cell per row of data where there should be several columns.
The only way I've been able to retain the formatting is if I paste each table across separately by doing this:
highlight output table > right click - copy table > pasting in excel
It doesn't work when I try and do more than one table at a time.
All the things I've tried only seem to work for individual tables. I've tried the export and putexcel functions and also the excel wizard.
Do you have any other suggestions? I've got hundreds of tables within the log file and it's a big pain to do each one separately.
Thanks in advance!
Kerrie
I am trying to find a way to transfer the entire content from a log file into excel in such a way that it retains the stata formatting. When I try copy and pasting the entire log file the formatting gets messed up and I end up with one cell per row of data where there should be several columns.
The only way I've been able to retain the formatting is if I paste each table across separately by doing this:
highlight output table > right click - copy table > pasting in excel
It doesn't work when I try and do more than one table at a time.
All the things I've tried only seem to work for individual tables. I've tried the export and putexcel functions and also the excel wizard.
Do you have any other suggestions? I've got hundreds of tables within the log file and it's a big pain to do each one separately.
Thanks in advance!
Kerrie
Comment