Hi,
I would like to extract a date from Excel in MM/DD/YYYY format which is located in cell B2, convert it in a Stata monthly date "YYYYmMM" and put in as input in a global macro variable in Stata as monthly date, month and year:
global mdate ...
global month ...
global year ...
Anyone can help? Thanks a lot in advance.
Related Posts with Extract date from Excel as input in global macro
Running mi:reshape after imputation (longitudinal dataset)Hi All I imputed (25 imputations) my longitudinal dataset (in the wide format) which seems to have …
test of proportions using prtestHi statalist, I am trying to run a two sample test of proportion using two groups (women who report…
Please help me troubleshoot converting string date("20100201") into the format Stata recognizes as dateHi, I was converting string date data (variable Fdate and Pdate, they look like "20100201") into num…
Graph with standard deviation on the y axisDear Stata users, I am trying to replicate the paper "Revisiting the German wage structure" https://…
Stata 16Dear Statalist, I hope this finds you well. I would like to ask regarding the new version of Stata …
Subscribe to:
Post Comments (Atom)
0 Response to Extract date from Excel as input in global macro
Post a Comment