https://bugs.documentfoundation.org/show_bug.cgi?id=162897

--- Comment #13 from Michael <[email protected]> ---
Changing the CellBackColor is not the solution. If I do that, I can't see the
image, In fact, everything in the sheet goes black. I need to change the
Document Background Color. So, I need something like this:

Sub ChangeBgColor
    Dim oDoc As Object
    oDoc = ThisComponent
    ' Put whatever color you want here
    oDoc.BackColor = RGB(50, 50, 50)
End Sub

I have tried different combinations like BackColor, DocBackColor,
DocumentBackColor etc with no luck.

I would also have to know how to add an item to the Formatting toolbar. I might
be able to find that out tomorrow, but it is very late here, and I have been
out all afternoon.

Thanks anyway for the suggested macro. It will put me on the right path.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to