Ciao,
Mi chiedevo qualsiasi soluzione intorno a questo. Il caso è che ho le mie finestre e il file excel è aperto che modifico e salvo. Nel frattempo, provo ad aprire quel file excel con jsl per un'ulteriore elaborazione dei dati (il *.xlsx è ancora aperto con Excel mentre lo sto facendo.)
Quando provo ad aprire quel file ottengo questo errore
"Si è verificato un errore durante l'apertura del file."
C'è qualche soluzione intorno a questo? Questo file excel è un file excel condiviso, quindi è molto probabile che venga aperto da un altro utente e da un altro computer, quindi spero che jsl abbia una soluzione per aggirare questo problema?
Sto usando JMP 14.0.3
Grazie
Open(
"D:\ATS\frankwang\Desktop\Test.xlsx", // Here is file path
Worksheets( "Sheet1" ), // Worksheets Name
Use for all sheets( 1 ), // Check seting use for all sheets or not (1 -> Y, 0 -> N)
Concatenate Worksheets( 0 ), // Check need concatenate work sheets or not
Create Concatenation Column( 0 ), // if you want to concate, this will be set
<BR />//Below setting about Data Table of sheet. Such as Column Header, Number of rows in hearder and so on<BR /> Worksheet Settings(
1,
Has Column Headers( 1 ),
Number of Rows in Headers( 1 ),
Headers Start on Row( 1 ),
Data Starts on Row( 2 ),
Data Starts on Column( 1 ),
Data Ends on Row( 0 ),
Data Ends on Column( 0 ),
Replicated Spanned Rows( 1 ),
Replicated Spanned Headers( 0 ),
Suppress Hidden Rows( 1 ),
Suppress Hidden Columns( 1 ),
Suppress Empty Columns( 1 ),
Treat as Hierarchy( 0 ),
Multiple Series Stack( 0 ),
Import Cell Colors( 0 ),
Limit Column Detect( 0 ),
Column Separator String( "-" )
)
)
Per i dettagli, puoi controllare in Index Script e cercare "Apri"