Vertical lines for scrollbar visible in desktop add-in when add-in section is resized

Saloni Jagga 0 Reputation points
2024-07-08T07:33:58.1866667+00:00

When i resize the add-in section in my excel desktop app these vertical lines are visible where the previous position of scrollbar was present. It works fine for the online excel spreadsheet issue only occurs in desktop application.

I have tried clearing cache for excel as well as changing the settings for add-in's in excel.

Any and all advice and assistance very gratefully received.

Thanksexcel-add-in-issue

excel-addin-issue

Microsoft 365 and Office | Development | Office JavaScript API
Microsoft 365 and Office | Development | Other
Microsoft 365 and Office | Excel | For business | Windows
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Matt 0 Reputation points
    2025-08-04T17:22:53.0633333+00:00

    I had the same problem in a Word add-in. I fixed it by adding a background-color css rule to the stylesheet. I.e. main.css:

    
    body {
      background-color: white;  /* required to avoid vertical lines on window re-size */
    }
    
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.