Dear all,
I am writing to ask for a problem on the putexcel modify. I have an existing excel xls. file which is generated using a different data set. I was trying to use putexcel to add new data to this existing file. The code I use is:
putexcel set filename.xls, sheet("Sheet1") modify open
putexcel A1 = ("Table 7: Empirical Research")
However, the error message says "workbook filename.xls could not be loaded. r(603)"
I also used multiple ways to change directory using the code:
putexcel set "C:\A\B\filename.xls", sheet("Sheet1") modify open
putexcel A1 = ("Table 7: Empirical Research")
Now the error message changes to "could not write to file. r(691)"
With little information in the error message, I could not find the problem here.
Thank you so much in advance!
Best regards,
Scarlett Ling
Related Posts with Putexcel modify not working
Heckpoisson Error MessageI am currently attempting to use the heckpoisson command in Stata 15.1. My dependent variable is an …
Error = { required r(100)Greetings Please attached is my do file that I am trying to use to test associations between my expl…
Network meta-analysisHello all, I'm trying to run network meta-analysis in Stata and I'm running into a problem that mig…
Country fixed effects and dummy in IV regressionHello everyone, I want to use instrumental Variable regression and include country fixed effects in…
Global macro before stringsDear, I would like to generate a new variable whose name includes a global macro in the middle of s…
Subscribe to:
Post Comments (Atom)
0 Response to Putexcel modify not working
Post a Comment