Show Activecell Date in MsgBox
dim resp as long
resp = msgbox(Prompt:="Value is: " & format(activecell.value, "mmm dd, yyyy") _
& vblf & "Continue?", buttons:=vbyesno)
if resp = vbno then
exit sub '???
end if
'do the rest.
=====
This doesn't do any checking that the activecell actually contains a date.
Aussie Bob C wrote:
Can the date in the ActiveCell be shown in a MsgBox, allowing the user to
check whether to continue or Cancel the macro running. All data on and below
the ActiveCell is cut and pasted into second sheet.
--
Thank you
Aussie Bob C
Little cost to carry knowledge with you.
Win XP P3 Office 2007 on Mini Mac using VMware.
--
Dave Peterson
|