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

Different attempt
Jefferson Davis 19.Oct.11 10:09 PM a Web browser
1-2-3 All Releases Windows XP


Hello again Jonathan,

I'm not fully following your example.

I've got approx. 10 cells, in each of 3 range groupings for each Sub to check. I attempted the below which is very simple to my mind. I just haven't figured out how to set it up correctly so that it'll work.

I thought it through a little better this time and created an example file to figure it out. Here goes;

I placed in A:A1 = 2

I placed in A:B1 = 2

I placed in A:C1 the formula: @IF(A1=B1,"Correct","WRONG")

And in the cellcontentschange for A:C1, I placed:

Sub Cellcontentschange(Source As Range)
If [A:C1].contents = "Correct" Then
[A:C1].Font.FontColor.ColorName = "black"
[A:C1].Background.BackColor.ColorName = "white"
[A:C1].Font.Bold = False
[A:C1].Font.Italic = False
Else
[A:C1].Font.FontColor.ColorName = "red"
[A:C1].Background.BackColor.ColorName = "blush"
[A:C1].Font.Bold = True
[A:C1].Font.Italic = True
End If
End Sub

I can get the cell to change to the "red" section, but it will not change back.

This is probably very simplified, but it's how my mind is working. Any suggestions would be greatly appreciated.

Thank you again.




Sub for cellcontentschange? (Jefferson Davis... 19.Oct.11)
. . RE: Sub for cellcontentschange? (Jonathan Metzge... 19.Oct.11)
. . . . Please explain further? (Jefferson Davis... 19.Oct.11)
. . . . . . Different direction (Lee Mosqueda 19.Oct.11)
. . . . . . RE: Please explain further? (Jonathan Metzge... 19.Oct.11)
. . . . . . . . RE: Please explain further? (Jefferson Davis... 19.Oct.11)
. . . . . . . . . . Different attempt (Jefferson Davis... 19.Oct.11)
. . . . . . . . . . . . RE: Different attempt (Lee Mosqueda 20.Oct.11)
. . . . . . . . . . . . . . Working (Jefferson Davis... 20.Oct.11)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


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

Sign In or Register

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

Member Tools


RSS Feeds

 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