Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / May 2006

Tip: Looking for answers? Try searching our database.

Conditional Formatting

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Socal Analyst looking for help - 12 May 2006 20:11 GMT
 i have text labels in column A:
 A       B  C  D E F
1 direct OT          
2 vacation
3 taxes
4 indirect OT
5 Total salaries
6 commissions
7 variable commissions
8 Total Commissions

and then i have numerical data in columns b, c, d,e,f

I would like to create a macro or function that will bold and underline the
cells A:F for each row that the word "Total" appears in column A.

For example

column A row 5 has the word Total in it as a reslut, i would like cells
A5:F5 bolded and underlined

the same goes for A5, it contains the word "Total" as a result, I would like
A5:F5 bolded and underlined.


S.Y.M. Wong-A-Ton - 13 May 2006 10:56 GMT
You could use a repeating table to display your data and set conditional
formatting on each field within the table as follows:

- Double-click on one of the fields in the repeating table to open its
"Properties" dialog box.
- Click on the "Display" tab.
- Click on the "Conditional Formatting..." button.
- Click on the "Add" button.
- Select the field that represents your label field (column A) from the
first dropdown list box on the "Conditional Format" dialog box.
- Select "contains" in the second dropdown list box.
- Select "Type text..." from the third dropdown list box and then type the
text "Total" (without the quotes).
- Select the checkboxes for "Bold" and "Underline" under the "Then apply
this formatting" section.
- Click on "OK" when closing all open dialog boxes.
- Repeat all the steps for all of the other fields within the repeating table.

---
S.Y.M. Wong-A-Ton

>   i have text labels in column A:
>   A       B  C  D E F
[quoted text clipped - 21 lines]
>
>  
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.