I need helping making borders disappear around an Excel cell after they are turned on. I turned the borders on by using the Excel_RangeBorderAround library function. According to the Excel VB user manual, I should be able to turn off the borders around the same cells by changing the LineStyle parameter from the default to xlLineStyleNone. I did that and it seems that the borders still do not disappear.
Here is the function call I made in my attempt to make the border disappear:
Excel_RangeBorderAround (logRangeHandle, NULL, CA_VariantInt(ExcelConst_xlLineStyleNone), ExcelConst_xlMedium, ExcelConst_xlColorIndexAutomatic, CA_DEFAULT_VAL, &logVariant).
The logRangeHandle is the handle for the Excel cell I am trying to alter and l
ogVariant is just a miscellaneous VARIANT for the "return value" parameter. Also, what is the return value parameter suppose to return? It doesn't seem like this function needs to return anything. Thanks.