![]() |
Format Cells ?
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. |
Format Cells ?
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. |
Format Cells ?
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. |
Format Cells ?
Thank-you.
|
Format Cells ?
Thank-you.
|
All times are GMT +1. The time now is 02:08 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com