PC Review


Reply
Thread Tools Rate Thread

Conditional Formatting icon change type problem

 
 
Stephen Plotnick
Guest
Posts: n/a
 
      24th May 2007
I'm building an Excel 2007 spreadsheet via VB 2005 and I'm trying to do some
conditional formatting with icon sets

I'm able to create an icon with the Green or Red traffic light (this must be
the default). When I try to change to the 5 arrow the VSE does not flag my
code as an error but at run time I get the following message.

Public member iconsets and type worksheet not found.

Here is the code to change the iconset.

cfIconSet.IconSet = osheet.IconSets(XlIconSet.xl5Arrows)

THanks,
Steve

 
Reply With Quote
 
 
 
 
Stephen Plotnick
Guest
Posts: n/a
 
      24th May 2007
I figured out the problem.

In case someone else needs this I'm refencing the sheet and need to
reference the book.

Steve
"Stephen Plotnick" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I'm building an Excel 2007 spreadsheet via VB 2005 and I'm trying to do
> some conditional formatting with icon sets
>
> I'm able to create an icon with the Green or Red traffic light (this must
> be the default). When I try to change to the 5 arrow the VSE does not flag
> my code as an error but at run time I get the following message.
>
> Public member iconsets and type worksheet not found.
>
> Here is the code to change the iconset.
>
> cfIconSet.IconSet = osheet.IconSets(XlIconSet.xl5Arrows)
>
> THanks,
> Steve


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using the Icon Set for Conditional Formatting Gino59 Microsoft Excel Worksheet Functions 1 11th Feb 2010 02:12 AM
Formatting Conditional Formatting Icon Sets The Rook Microsoft Excel Misc 3 7th Mar 2009 08:48 PM
change icon color traffic lights in conditional formatting jdhoogie Microsoft Excel Misc 1 8th Aug 2008 11:04 AM
Conditional Formatting with the icon set =?Utf-8?B?VHVidGh1bXBlcg==?= Microsoft Excel Misc 1 5th Nov 2007 10:12 AM
Change font type in Conditional Formatting Kyndsberg Microsoft Excel Discussion 1 23rd Jan 2006 09:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:38 AM.