poornima82
New Member
- Joined
- May 16, 2017
- Messages
- 4
Hi,
I am trying to format date over range of cells using Format().
Sheets("Details (Deliverables)").Range(Format(CDate(Cells(i, "N")), "dd/mm/yyyy"), Format(CDate(Cells(i, "W")), "dd/mm/yyyy")).Select
I got error for this.I having Excel 2013.
I tried using .NumberFormat but it is not working.
So I am trying to use Format(CDate(Cells(i,"N"),"dd/mm/yyyy") .
This is working fine for single cells like this,
Cells(i, "W").Value = Format(CDate(Cells(i, "W").Value), "dd/mm/yyyy")
But I want to format over range of cells.
Please guide me to do this.
I am not very familar in Excel vba.
For the past 15 days i am trying to automate excel vba normally I am a asp.net programmer with C#.
So please help me out.
Regards,
Poornima
I am trying to format date over range of cells using Format().
Sheets("Details (Deliverables)").Range(Format(CDate(Cells(i, "N")), "dd/mm/yyyy"), Format(CDate(Cells(i, "W")), "dd/mm/yyyy")).Select
I got error for this.I having Excel 2013.
I tried using .NumberFormat but it is not working.
So I am trying to use Format(CDate(Cells(i,"N"),"dd/mm/yyyy") .
This is working fine for single cells like this,
Cells(i, "W").Value = Format(CDate(Cells(i, "W").Value), "dd/mm/yyyy")
But I want to format over range of cells.
Please guide me to do this.
I am not very familar in Excel vba.
For the past 15 days i am trying to automate excel vba normally I am a asp.net programmer with C#.
So please help me out.
Regards,
Poornima