Click here to Skip to main content
15,913,669 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I am Trying to Format the Columns Value In Excel
Using Macro,visual Basic
as
VB
Format(Cells(iRow, icol), "yyyy-mm-dd")

I am Using loop to Format all the Available Data in that Particular Column.
I am Copy-pasting From another Source to this Excel File where I have Written The
Macro. The Data From Another source have Different Date Formats.And am Trying to
Format all in one Format that i s in "yyyy-mm-dd".
I have also Set the the Format Options as this Format.
But After Running the macro also am not getting the Required output.
The Format is Remaining the Same .
Please assist How to Do this.
Posted

1 solution

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