Hi all,
I have a script setup to open an Excel file, extract the required data, run some analysis, save the analysis as an interactive HTML (for access by a non JMP user), and close JMP down. It all works fine in my pilot script and as a non-coder I’m especially pleased to have figured it all out. The challenge now is that this must work between two completely separate companies. Both companies have access to a common Excel file via Sharepoint. I have been given access to the file on Sharepoint. After much ‘messing’ and then finding the Web() function, I am now able to get the Excel file to open on Sharepoint. I am however unable to extract the data from Excel to JMP for subsequent analysis
In my original script I simply used Open() to load the Excel content to the data table. Now that I’m staring at the Excel page in Sharepoint, I’m stuck. At this point I can’t see the wood for the trees. Any input on this is more than appreciated. If you have any JSL input, please ensure your its legible to a 10 7 year old. Here's the bit I'm stuck at:
Names Default To Here( 1 );
Web( "https://company.sharepoint.com/folders/file.xlsx);
dt = Open(
“Am I missing something here? Sharepoint is showing the Excel file, but it's not really OPEN as such”
Worksheets( "Whole Milk" ),
Use for all sheets( 1 ),
Concatenate Worksheets( 0 ),
Create Concatenation Column( 0 ),
Worksheet Settings(
1,
Has Column Headers( 1 ),
Number of Rows in Headers( 1 ),
Headers Start on Row( 3 ),
Data Starts on Row( 4 ),
Data Starts on Column( 2 ),
Data Ends on Row( 0 ),
Data Ends on Column( 24 ),
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( "-" )
)
);