For Formatting a cell for Medium Border on the cell, With White color of Text, Bold style and Black base of the cell, we can apply the following code:
Sheet3.Cells(1, 1).BorderAround xlContinuous, xlMedium, 1
Sheet3.Cells(1, 1).Interior.ColorIndex = 1
Sheet3.Cells(1, 1).Font.Bold = True
Sheet3.Cells(1, 1).Font.Color = vbWhite
Blog Archive
-
▼
2009
(17)
-
▼
February
(14)
- Working with Loops
- Format a Cell
- Assigning Value of a cell to some variable
- Inserting Value in a Cell
- Selecting a cell - VBA Code
- Copy data from 1 column to another
- Loading and Unloading Userform
- Adding Items to Combo Box
- How to Reverse characters of a string
- COUNTING NUMBER OF RECORDS IN SOURCE DATA
- Generate a series of N numbers through user input
- Generating series from 1 to 50
- Adding two numbers through user input
- For adding two numbers and printing the result in ...
-
▼
February
(14)
Subscribe to:
Post Comments (Atom)

0 comments:
Post a Comment