Click here to Skip to main content
15,849,328 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
// This code is to save the macro. I would like in working again refreshed.

private void C_Formatting()
       {
           var lastrow_ = _rowNumber + 11;
           for (int columnNumber = 68; columnNumber < 99; columnNumber += 9)
           {
                    Range range = _oSheet3.get_Range(GetCellIdColorCoding(columnNumber) + "11:" + GetCellIdColorCoding(columnNumber) + lastrow_);
                FormatCondition xStoresRed = range.FormatConditions.Add(XlFormatConditionType.xlCellValue, XlFormatConditionOperator.xlBetween, 1, 50);
                xStoresRed.Interior.Color = ColorTranslator.ToWin32(Color.Red);
           }
       }
Posted
Comments
Bala Selvanayagam 4-Oct-11 10:00am    
your question is not clear

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900