Hello again,
I was just playing around with what it would take to enable this every time I have a specific spreadsheet open.
This sometimes works, and sometimes gives me the problem where the SMILES window does not show up and on ctrl-T I get resized blank cells.
In CustomSetup, I use your lSetup and remove the dialog box WkBkSelection and message boxes, and just designate the activeworkbook as toWkBook.
I have a sub that is triggered from a worksheet as follows, where this references your LICSS addin:
Sub EnableSmilesStructures(sht As Worksheet, rng As Range)
Application.Run ("licssv3.0.xla!CustomSetup")
sht.Select
rng.Select
Application.Run "SetSmilesName"
Application.Run "DisplayRowStructure"
End Sub
As stated, problem I run into is that this works sometimes and sometimes not. What would you recommend?
Thanks!
Jason