Skip to main content
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  Lotus SmartSuite Forum

Lotus SmartSuite Forum

developerWorks

  

Sign in to participate PreviousPrevious NextNext


Jefferson Davis 2.Jun.11 02:22 PM a Web browser
1-2-3 All Releases Windows XP


Good day all,

I have a custom function that I've placed into several hundred cells of a table to count how many cells are formated with a specific "background color" and "text color". The function works fairly well, but it runs slow and if no conditions are met, it results in "0". I modified it with an @IF formula to hide the "0's". It now runs very much slower.

I removed the @IF section of the formula that results in "0's". The sub now runs a little faster.

The cells in question are already "selected" due to a "Find and Replace" script. I created the below script that seems to work on all values above "0".

Sub CellValue_TextColor_Change
Forall Cl In [].Cells
If Cl.CellValue = "0" Then
Cl.Select
Selection.Font.FontColor.ColorName = "white"
End If
End Forall
End Sub

Is there a way to tell the "CellValue" portion of the script to only change the cells containing formulas that result in "1" or greater instead of all cells in the "selected" range?

Any suggestions would be greatly appreciated. Thank you.






Conditional Formating? (Jefferson Davis... 2.Jun.11)
. . @CELL function (Russ Bartoli 6.Jun.11)
. . . . Formula combination works (Jefferson Davis... 6.Jun.11)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Author
Category
Platform
Release
Advanced search

 Sign In or Register
Sign in
Forgot your password?
Forgot your user name?
Create new registration

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

Resources

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support

 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds

Wikis

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums


 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
Notes/Domino 4 and 5
IBM Connections
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
IBM SmartCloud Meetings
IBM Web Content Manager
Lotus Domino Document Manager
Lotus e-learning
Lotus Enterprise Integration
Lotus Expeditor
Lotus Protector
Lotus Quickr
Lotus SmartSuite
Lotus Symphony
Lotus Symphony Developer Toolkit Support
Lotus Workflow