Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
One general method of figuring out how something is done in VBA is to do
it in excel while recording a macro and then studying the macro. That is true generally but FYI in Excel 2007 few, if any, actions taken on shapes are recorded by the macro recorder. For example this is the code recorded when I changed the fill color of a selected rectangle from blue to red in Excel 2007: Sub Macro1() ' ' Macro1 Macro ' End Sub MS made extensive changes to shapes in Excel 2007 and recording with regard to them was broken. They told beta testers that they'd like to restore it in a later version. -- Jim "Alok" wrote in message ... | Shahin, | As far as I know you cannot apply a gradient to a line. It has to be a solid | color. | One general method of figuring out how something is done in VBA is to do it | in excel while recording a macro and then studying the macro. | Happy new year. | Alok | | "Shahin.H" wrote: | | Happy new year everybody, | I would like to write a macro in EXCEL 2007 (in year 2007 ;) ) to change | line fill gradient. Suppose, I have a shape which has a fill gradien color | and its border has a gradient line color (NOT solid color). So, I wonder I | can change gradient line color by writing such a macro? I know this is | possible to change gradient fill color of shapes in Excel 2007, but I haven't | find anything for gradient line color in VBA programming. | | I would be very grateful if anybody could help me. | | Best regards, | Shahin.H | |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Change gradient color in chart for Excel 2007 | Charts and Charting in Excel | |||
How do I select two colors for Gradient Fill Excel 2007 | Charts and Charting in Excel | |||
Charts - Gradient fill Plot Area in Excel 2007 | Charts and Charting in Excel | |||
Were non-gradient chart patterns left out of Excel 2007? | Charts and Charting in Excel | |||
Are the non-gradient chart patterns missing from Excel 2007? | Excel Worksheet Functions |