Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
150
Using Named References
posted

Hi,
I am trying to use the Excel engine with an Excel spreadsheet I use that has Named References. Basically, I need to select the cell that has the Named Reference and insert a value. Using OLE automation I currently use:

Excel.Application.Goto(Reference:="myAmount")
Excel.ActiveCell.FormulaR1C1 = myValue

How would I do this with the Excel engine?

Similar to this, I also need to move to a Named Reference or select a specific cell to start outputting data or format the cell. Currently I use something like:

Sheet.Range("A4:J4").Select()
Excel.Selection.Font.Bold =
True
Excel.Selection.Font.Italic = True

How would I handle this?

Thanks