Dear Statalist,

Is there a way to see the programme code from Stata's own base commands?

In my case, I am interested in seeing how the firstrow option of Stata's import excel command works exactly because I want to learn from it in order to do something similar (I want to be able to modify the column headers of my Excel file after importing and only then should these headers become variable names, so I can't just use the firstrow option directly). But when I type sysdir and then locate the import_excel.ado file in my BASE folder, it contains only very limited reference code, not the full programme...

Many thanks,
Felix