Category: Uncategorized
Macro: Repetitive Replacing of Table Cells
Selection.SelectCell
If Selection.Range.Bold = True Then
Selection.Text = “RESERVED”
Else
Selection.Text = “Reserved”
End If
End Sub
AIT: Highlighting Variants
1. Open AIT Administrator
2. Select Security -> Release States
3. Add a new state:
b. State name: HighlightVar
c. Right click over the new state, select Check Row
d. Click the box near the end of the row for HighlightVar / Review Color
e. Select yellow
f. Check that the boxes are checked for all relevant users
4. Do step 3 again to add the state DoNotHighlightVar, but skip steps d and e.
6. Open AIT
7. In your library, sort the objects by variant
8. Select (using Ctrl+click) all variants of the default object
9. Right mouse click, then select Change Release State -> HighlightVar
The variant of the main document can now be published with highlighted sections.
Print Without Highlighting
1. Go to the search tab
2. Select HighlightVar from In State
3. Click on Find Now
4. The search result shows all of the objects with highlighting
5. Select all of the objects
6. Right click -> Change Release State -> DoNoHighlightVar
7. Publish
1. Go to the search tab
2. Select DoNoHighlightVar from In State
3. Click on Find Now
4. The search result shows all of the objects with highlighting
5. Select all of the objects
6. Right click -> Change Release State -> HighlightVar
7. Publish
Split Excel Columns into Multiple Rows
=Indirect(Address((Row(A1)-1)*5+Column(A1),1))
Copy to the right four times and then down as far as you need to. If you want to change the number of columns in the result, then change the ‘5’ to the # of columns.
[Source OzGrid]
Fontastic
Author-It: Pasting Text with Formatting
- From the main window select: Import -> (Transformation) Profiles
- Select Word Documents
- Click Properties
- Check the box next to Use for Paste
Paste -> Paste Using Import Profile -> Word Documents
That’s it. Happy pasting.
Filename Field Code in Word
- Open Windows Explorer
- Click Tools -> Folder Options
- Click on the View tab
- Check Hide extensions for known file types
[Source Wordribbon.Tips.net]
Painting in Irfanview
En, Em, Eh, What?
Excel Macro for Background Color
- Open the VB editor (Alt + F11)
- Open ThisWorkbook under Microsoft Excel Objects
- Add the following code:
Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)
| [Color 0] | [Color 0] | [Color 15] | [Color 15] | [Color 30] | [Color 30] | [Color 45] | [Color 45] | |||
| [Color 1] | [Color 1] | [Color 16] | [Color 16] | [Color 31] | [Color 31] | [Color 46] | [Color 46] | |||
| [Color 2] | [Color 2] | [Color 17] | [Color 17] | [Color 32] | [Color 32] | [Color 47] | [Color 47] | |||
| [Color 3] | [Color 3] | [Color 18] | [Color 18] | [Color 33] | [Color 33] | [Color 48] | [Color 48] | |||
| [Color 4] | [Color 4] | [Color 19] | [Color 19] | [Color 34] | [Color 34] | [Color 49] | [Color 49] | |||
| [Color 5] | [Color 5] | [Color 20] | [Color 20] | [Color 35] | [Color 35] | [Color 50] | [Color 50] | |||
| [Color 6] | [Color 6] | [Color 21] | [Color 21] | [Color 36] | [Color 36] | [Color 51] | [Color 51] | |||
| [Color 7] | [Color 7] | [Color 22] | [Color 22] | [Color 37] | [Color 37] | [Color 52] | [Color 52] | |||
| [Color 8] | [Color 8] | [Color 23] | [Color 23] | [Color 38] | [Color 38] | [Color 53] | [Color 53] | |||
| [Color 9] | [Color 9] | [Color 24] | [Color 24] | [Color 39] | [Color 39] | [Color 54] | [Color 54] | |||
| [Color 10] | [Color 10] | [Color 25] | [Color 25] | [Color 40] | [Color 40] | [Color 55] | [Color 55] | |||
| [Color 11] | [Color 11] | [Color 26] | [Color 26] | [Color 41] | [Color 41] | [Color 56] | [Color 56] | |||
| [Color 12] | [Color 12] | [Color 27] | [Color 27] | [Color 42] | [Color 42] | |||||
| [Color 13] | [Color 13] | [Color 28] | [Color 28] | [Color 43] | [Color 43] | |||||
| [Color 14] | [Color 14] | [Color 29] | [Color 29] | [Color 44] | [Color 44] |
[Source MVPS site]
