Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Why doesn't this work in Excel 2007? Is this a bug?

The code below is supposed to add a WordArt diamond symbol and color
it red. This works perfectly in Excel 2003, but not in 2007. What
happens in 2007 is that the back color changes to red instead of the
fore color. Is this a bug? Any ideas?

yoffset = 15
xoffset = 184
top = 43
red = 10
Call AddDiamondSymbol(xoffset, top + yoffset, 7, 7, ChrW(&H2666), red)

Function AddDiamondSymbol(left, top, height, width, tier, fillcolor)
ActiveSheet.Shapes.AddTextEffect(PresetTextEffect: =0, _
Text:=tier, FontName:="Arial Black", FontSize:=20, _
FontBold:=False, FontItalic:=False, left:=left,
top:=top).Select
With Selection.ShapeRange
.Fill.Visible = True
.Fill.Solid
.Fill.ForeColor.SchemeColor = fillcolor
.Fill.Transparency = 0
End With
End Function

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default Why doesn't this work in Excel 2007? Is this a bug?

On 2 Apr, 02:38, "Phil" wrote:
Nevermind. Instead of banging my head on this one I decided to scrap
this approach and I implemented something different.


Good thinking Phil

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Does Synkronizer work with Excel 2007? KFH New Users to Excel 1 November 13th 09 07:42 AM
Excel 2007 Shortcut do not work JHL Excel Discussion (Misc queries) 5 October 28th 09 04:00 PM
EXCEL 97 WORK IN 2007? PETERFST Excel Discussion (Misc queries) 2 January 27th 08 11:14 PM
How do I work with Excel 2007 and htm files? Touya06 New Users to Excel 1 December 14th 07 08:02 PM
Lost all my work in Excel 2007 Cali Tech Excel Discussion (Misc queries) 3 March 9th 07 08:01 PM


All times are GMT +1. The time now is 05:11 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"