Avatar of Murray Brown
Murray Brown
Flag for United Kingdom of Great Britain and Northern Ireland

asked on 

VB.net Excel Add-in 'xlEdgeTop' is not declared.


In my VB.net Excel Add-in I am trying to work with cell borders. In the code below I get the error 'xlEdgeTop' is not declared. How do I correct this?

   C = Globals.ThisAddIn.Application.Selection.Borders(xlEdgeTop).ColorIndex
Visual Basic.NETMicrosoft Excel

Avatar of undefined
Last Comment
Murray Brown

8/22/2022 - Mon