Changing Background Color in 3DX with a Macro

I had a macro in V5 to change the background to white and change all elements that are white to black and then export an image to a PPT file. I ported this macro to 3DX and it runs, except the part that changes the background color to white. It seems to ignore it. No error. Has anyone made something that works?