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
How to avoid comma and rounding in numeric formatHello, I have a dataset, it appears in Excel right like this stkcd trdmnt msmvttl 000001 1991-12 26…
Why the command -sumdist- (SSC) do not display variable's mean of last quantilesDear Stata users, The command -sumdist- (SSC) was written by Stephen Jenkins , it was designed to e…
What is the difference between finite and infinite samples?Today I faced a term "finite samples" in reading Borusyak (2021)'s work: We conclude the section…
Empty parentheses output following "use"Recently I've noticed that after opening a data file with the "use" command, a line below the result…
with "tab" but "too many values", with "bigtab", there is no "gen"Hallo , I got a problem with the command tabulate. I tried this: Code: tab exp, generate(EXPORTER)…
Subscribe to:
Post Comments (Atom)
0 Response to Putexcel modify not working
Post a Comment