Hello,
I am trying to align several cells in Stata and would like to do it automatically. I've tried to export as an Excel file, align, then reimport back to Stata but that hasn't worked.
I extract the data as follow:
This is how it looks. Can anyone please explain to me why this is the case? I've checked the variable's format, which is %167s so I think they should be left-aligned.
Thank you in advance.
I am trying to align several cells in Stata and would like to do it automatically. I've tried to export as an Excel file, align, then reimport back to Stata but that hasn't worked.
I extract the data as follow:
Code:
input long regno int subno long nameno str167 name str134 E str80 F str37 G 200047 1 19 "CLEMENT MARSLAND'S CHARITY " "" "" "" 200047 2 20 "HENRY SMITH'S CHARITY (SHARE) " "" "" "" 200047 4 525270 "THE REVEREND ROBERT HANCOCK'S CHARITY" "" "" "" 200047 3 21 "JOHN ATTERTON " "" "" "" 200047 6 24 "WIDOWS FUND (REV ROBERT HANCOCK'S CHARITY) " "" "" "" 200047 0 170093 "NORTHILL PAROCHIAL CHARITIES " "" "" "" 200047 5 23 "FATHERLESS GIRLS FUND (ELIZABETH HUTCHINSON'S CHARITY) " "" "" "" end
Thank you in advance.
Comment