Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
The following code snippet is my attempt to format the last cell in column C as percent with 2 decimal places.
xlWs.Range("c1").End(xlDown).Selection.PercentForm at = "0.00%" Need help. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Forrest, try this for the last cell with date in C
Range("C65536").End(xlUp).NumberFormat = "0.00%" -- Paul B Always backup your data before trying something new Please post any response to the newsgroups so others can benefit from it Feedback on answers is always appreciated! Using Excel 2000 & 97 ** remove news from my email address to reply by email ** "Forrest" wrote in message ... The following code snippet is my attempt to format the last cell in column C as percent with 2 decimal places. xlWs.Range("c1").End(xlDown).Selection.PercentForm at = "0.00%" Need help. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
This works for me,
Range("C1:C" & Cells(Rows.Count, "C").End(xlUp).Row).NumberFormat = "0.00%" -- Regards, Rocky McKinley "Forrest" wrote in message ... The following code snippet is my attempt to format the last cell in column C as percent with 2 decimal places. xlWs.Range("c1").End(xlDown).Selection.PercentForm at = "0.00%" Need help. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thank-you.
|
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thank-you.
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2007 format cells to date format | Excel Discussion (Misc queries) | |||
how do i format a cell based on format of a range of cells? | Excel Discussion (Misc queries) | |||
want format cells alignment not format cells font style | Excel Discussion (Misc queries) | |||
Cells won't convert to number format, even after format/cells/num. | Excel Discussion (Misc queries) | |||
When I select "format cells", the format dialog box does not disp. | Excel Worksheet Functions |