![]() |
Format date in destination cell
I have a spreadsheet that uses VB programming to transfer data entered on one
spreadsheet to another spreadsheet. To get the data to the 2nd spreadsheet the cells are set up with General formatting. This doesn't work out with date formatting. Is there a way I can set up the destination cell to receive the date in the proper format? Susan |
Format date in destination cell
You can easily format the destination cell in VB, either before or after the
copy. You would use a statement like: Range("A1").NumberFormat = "mm/dd/yyyy" -- Regards, Fred "Susan" wrote in message ... I have a spreadsheet that uses VB programming to transfer data entered on one spreadsheet to another spreadsheet. To get the data to the 2nd spreadsheet the cells are set up with General formatting. This doesn't work out with date formatting. Is there a way I can set up the destination cell to receive the date in the proper format? Susan |
All times are GMT +1. The time now is 08:46 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com