-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Permissions Issue when trying to SaveWorkbookAs #30
Comments
Have you traced in debug mode? The SaveWorkbookAs() method will always return .T.; I will make changes to return the actual value from the SaveWorkbook() method. Please add a breakpoint at the call to this method and see what the return value is. You might need to step through the SaveWorkBook() method to see where the save is not occurring. Please let me know the results.
…________________________________
From: Eric Selje <notifications@github.com>
Sent: Sunday, November 24, 2019 6:31 PM
To: ggreen86/XLSX-Workbook-Class <XLSX-Workbook-Class@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Subject: [ggreen86/XLSX-Workbook-Class] Permissions Issue when trying to SaveWorkbookAs (#30)
Not sure what's happening, but SaveWorkBookAs doesn't want to save. It returns .t. but no file appears. I'm sending it the full path name.
oXLSX = CREATEOBJECT("VFPWorkBookXSLX.VFPWorkBookXSLX")
iWorkbook = oxlsx.openxlsxworkbook(cActionPriceSheet)
IF lRename
cActionPriceSheet = ADDBS(JUSTPATH(cActionPriceSheet))+"Action Price Sheet " + TRANSFORM(DTOC(DATE(),1),'@r 9999-99-99')+".xlsx"
ENDIF
iResult = oxlsx.saveworkbookas(iWorkBook,cActionPriceSheet)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#30?email_source=notifications&email_token=AGWB33IJ6YK3WA4JQDLRVTDQVMFF5A5CNFSM4JRBS3SKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H3VHREQ>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AGWB33MYKDSSIOMNQVA56OTQVMFF5ANCNFSM4JRBS3SA>.
|
Closing issue. No reply received since my last response to try to determine if the issue can be identified. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not sure what's happening, but SaveWorkBookAs doesn't want to save. It returns .t. but no file appears. I'm sending it the full path name.
The text was updated successfully, but these errors were encountered: