Table changing format options with macro

joshuafournier

Board Regular
Joined
Mar 3, 2012
Messages
91
Greetings,

I have a table that is always present. Depending on the people involved it displays the people appropriately on the bottom. Every thing works except it keeps changing my table format. Each measurable needs to have exact colours etc. When it runs the VBA macro it changes all the colours outlines patterns etc. How do i stop that from happening. I just want it to keep what i have already for the table. This is my code for 1 person.

Activesheet.chartobjects ("chart7")
activechart.seriescollection (1).xvalues="=bf12:bf12"
activechart.seriescollection (2).xvalues="=bf12:bf12"
activechart.seriescollection (3).xvalues="=bf12:bf12"
activechart.seriescollection (4).xvalues="=bf12:bf12"
activechart.seriescollection (5).xvalues="=bf12:bf12"

Activechart.seriescollection (1).values="=bn12:bn12"
Activechart.seriescollection (2).values="=bo12:bo12"
Activechart.seriescollection (3).values="=bk12:bk12"
Activechart.seriescollection (4).values="=bl12:bl12"
Activechart.seriescollection (5).values="=bp12:bp12"
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.

Forum statistics

Threads
1,214,990
Messages
6,122,626
Members
449,093
Latest member
catterz66

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top