Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: st: Copying Stata code with line numbers


From   Charles Vellutini <[email protected]>
To   "[email protected]" <[email protected]>
Subject   RE: st: Copying Stata code with line numbers
Date   Wed, 7 Mar 2012 04:35:12 -0800

Thanks Phil and Nick for your suggestions

-----Message d'origine-----
De : [email protected] [mailto:[email protected]] De la part de Phil Clayton
Envoyé : mercredi 7 mars 2012 13:13
À : [email protected]
Objet : Re: st: Copying Stata code with line numbers

I don't know of any direct way but you could:
1. copy the text in the do-file editor
2. paste it into a spreadsheet starting in column B 3. auto-fill column A with the line numbers 4. copy the result into your word processor, pasting as unformatted text

Phil

On 07/03/2012, at 11:01 PM, Charles Vellutini wrote:

> Dear Statalisters,
> 
> Would anyone know how to copy the content of an do-file (from Stata's standard do-file editor) and paste it in a word processor *with the line numbers*?
> 
> We use Stata 12.1 on a Windows system.
> 
> Thanks in advance,
> 
> Charles
> 
> 
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index