Dear Ankur, Please if you don't mind will you make your font sytle and size as a simple Or plain one. It looks too ODD.
Thanks for your understanding. Regards,,,,, On Tue, Jun 12, 2012 at 11:38 AM, ankur <ankurpande...@gmail.com> wrote: > *HI ASHISH > **I TRIED THIS CODE FOR YOUR SOLUTION ,BUT IT IS NOT SO GOOD....because i > dont know* how to stop the code after the blank cells....Experts will > guide me in this issue how to remove this flaw....file is attached for your > reference > * > Sub chgDateFormat() > > ActiveCell.Offset(0, 1).Range("A1").Select > ActiveCell.FormulaR1C1 = _ > "=DATE(LEFT(RC[-1],4),MID(RC[-1],5,2),RIGHT(RC[-1],2))" > ActiveCell.Select > Selection.AutoFill Destination:=ActiveCell.Range("A1:A500") > ActiveCell.Range("A1:A1").Select > End Sub > > > > * > Regards: > CMA Ankur Pandey > > Visit My Site <http://cmaankur.wordpress.com/> > > > > On Tue, Jun 12, 2012 at 1:04 PM, Ashish Bhalara <ashishbhalar...@gmail.com > > wrote: > >> Dear sir, >> >> I have data in which date written in 20120412 format and i want to make >> macro to which transfer the format to 12-Apr-2012 by running the macro on >> selection range. Please help me in my below code. >> >> Sub Macro1() >> Dim selct As Range >> selct = Range.Select >> Range = WorksheetFunction.TEXT(TEXT(selct, "0000-00-00"), "DD-MMM-YYYY") >> End Sub >> >> Thanks & regards. >> >> Ashish Bhalara >> 9624111822 >> >> >> >> -- >> FORUM RULES (986+ members already BANNED for violation) >> >> 1) Use concise, accurate thread titles. Poor thread titles, like Please >> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice >> will not get quick attention or may not be answered. >> >> 2) Don't post a question in the thread of another member. >> >> 3) Don't post questions regarding breaking or bypassing any security >> measure. >> >> 4) Acknowledge the responses you receive, good or bad. >> >> 5) Cross-promotion of, or links to, forums competitive to this forum in >> signatures are prohibited. >> >> NOTE : Don't ever post personal or confidential data in a workbook. Forum >> owners and members are not responsible for any loss. >> >> >> ------------------------------------------------------------------------------------------------------ >> To post to this group, send email to excel-macros@googlegroups.com >> >> To unsubscribe, send a blank email to >> excel-macros+unsubscr...@googlegroups.com > > > -- > FORUM RULES (986+ members already BANNED for violation) > > 1) Use concise, accurate thread titles. Poor thread titles, like Please > Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice > will not get quick attention or may not be answered. > > 2) Don't post a question in the thread of another member. > > 3) Don't post questions regarding breaking or bypassing any security > measure. > > 4) Acknowledge the responses you receive, good or bad. > > 5) Cross-promotion of, or links to, forums competitive to this forum in > signatures are prohibited. > > NOTE : Don't ever post personal or confidential data in a workbook. Forum > owners and members are not responsible for any loss. > > > ------------------------------------------------------------------------------------------------------ > To post to this group, send email to excel-macros@googlegroups.com > > To unsubscribe, send a blank email to > excel-macros+unsubscr...@googlegroups.com -- Ahmed Bawazir *احمد باوزير* -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com To unsubscribe, send a blank email to excel-macros+unsubscr...@googlegroups.com