I have a data table in excel that I am exporting to JMP using VBA. I am able to apply colors to the JMP datatable rows through the SetSelectedRowsColor function, but am only able to apply default JMP colors (jmpColorBlue, jmpColorGreen, etc). An example of what I am doing is:
Dim MyJMP As JMP.Application
Dim JMPdoc As JMP.Document
Set MyJMP = CreateObject("JMP.Application")
MyJMP.Visible = True
Set JMPdoc = MyJMP.OpenDocument(ThisWorkbook.FullName)
Dim JMPdt As JMP.DataTable
Set JMPdt = JMPdoc.GetDataTable
rws_bool = JMPdt.SelectRowsWhere("Condition", rowSelectEquals, rowSelectClearPrevious, "1")
JMPdt.SetSelectedRowsColor (jmpColorBlue)
I would instead like to use the colors in the Excel table and apply those to the JMP rows. Is there a way to apply the interior Excel cell RGB to the rows in JMP?
Thanks