abi_learn_vba
Board Regular
- Joined
- Nov 6, 2009
- Messages
- 215
Hi,
I have an Cell with value as
"4/13/2011 9:45:01 AM".
As you see it contains date and time. I need to get only date from the cell using a VBA code, like assigning the date to a variable. I know we can do this using INT() function in excel, not sure how this can be used in VBA.
Can any one help me.
-Abi
I have an Cell with value as
"4/13/2011 9:45:01 AM".
As you see it contains date and time. I need to get only date from the cell using a VBA code, like assigning the date to a variable. I know we can do this using INT() function in excel, not sure how this can be used in VBA.
Can any one help me.
-Abi