Hello,
My VBA script looks through each csv file in a folder. The script creates a new sheet with data that is cleaned from the first for each file. How would I have VBA click the "Data Table" button in the JMP tab of Excel? I tried recording a macro and viewing it, but it does not show anything. If it is not possible, I would like to create a data table in JMP with the CurrentRegion of the ActiveSheet. How would I be able to do that?
Here is what I have so far:
MoveData = ActiveSheet.Range("A1").CurrentRegion
Set JMPapp = CreateObject("JMP.Application")
JMPapp.Visible = True
Set JMPdoc = JMPapp.NewDataTable(FileName) 'FileName is the filepath for the current opened document but the table in JMP is blankWhen I get to the end of the script I have a blank data table in JMP.
I would appreciate any help or advice!
Thank you,
Shaun