bobkap
Active Member
- Joined
- Nov 22, 2009
- Messages
- 323
- Office Version
- 365
- Platform
- Windows
- Mobile
- Web
[TABLE="width: 104"]
<colgroup><col style="width: 104pt; mso-width-source: userset; mso-width-alt: 4416;" width="138"> <tbody>[TR]
[TD="class: xl63, width: 138, bgcolor: transparent, align: right"]
[/TR]
</tbody>[/TABLE]
<colgroup><col style="width: 104pt; mso-width-source: userset; mso-width-alt: 4416;" width="138"> <tbody>[TR]
[TD="class: xl63, width: 138, bgcolor: transparent, align: right"]
I get a report with date and time formatted like this: "8/7/2012 1:23:16 PM" What VBA code can I write to get just the month, day of the month, hour and AM or PM like this "8/7 1 PM"? For this project, I do not need minute or seconds data.
[/TD][/TR]
</tbody>[/TABLE]