date formate with a text

anilg0001

Rules Violation
Joined
Jun 7, 2010
Messages
193
how can i print in my A1 cell as
A1=We have completed all the files and uploaded to the Outbox folder (Apr22)"
here the Apr22 = April month , 22 date (Current month and date)
please advise
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Try

="We have completed all the files and uploaded to the Outbox folder ("&TEXT(TODAY(),"mmm dd")&")"
 
Upvote 0
sorry mr Vog, I need this as a macro.

when i try this as
Range("B3").Value = "We have completed all the files and uploaded to the Outbox folder (" & Text(TODAY(), "mmm dd") & ")"
it shows error on the red part
 
Upvote 0
Try

Code:
Range("B3").Value = "We have completed all the files and uploaded to the Outbox folder (" & Format(Date, "mmm dd") & ")"
 
Upvote 0
In a macro it would be

Range("B3").Value = "We have completed all the files and uploaded to the Outbox folder (" & Format(Date, "mmm dd") & ")"
 
Upvote 0
Thanks mr Peter_SSS and Mr Vog this work greatly
.
One more doubt how can i go at the end of a cell after running a macro
means
if my B range like

<table width="470" border="0" cellpadding="0" cellspacing="0"><col style="width: 353pt;" width="470"> <tbody><tr style="height: 12.75pt;" height="17"> <td style="height: 12.75pt; width: 353pt;" width="470" height="17">88Comet_34812 - KC026P (VIN# 34812) PO#</td> </tr> <tr style="height: 12.75pt;" height="17"> <td style="height: 12.75pt;" height="17">90Fontaine_50410 - KC027P (VIN# 50410) PO#</td> </tr> </tbody></table> <table width="470" border="0" cellpadding="0" cellspacing="0"><col style="width: 353pt;" width="470"> <tbody><tr style="height: 12.75pt;" height="17"> <td style="height: 12.75pt; width: 353pt;" width="470" height="17">88Comet_34812 - KC026P (VIN# 34812) PO#</td> </tr> <tr style="height: 12.75pt;" height="17"> <td style="height: 12.75pt;" height="17">90Fontaine_50410 - KC027P (VIN# 50410) PO#</td> </tr> </tbody></table>
after run a macro B5 cell need to be selected

if my B range like

<table width="470" border="0" cellpadding="0" cellspacing="0"> <col style="width: 353pt;" width="470"> <tbody><tr style="height: 12.75pt;" height="17"> <td style="height: 12.75pt; width: 353pt;" width="470" height="17">88Comet_34812 - KC026P (VIN# 34812) PO#</td> </tr> <tr style="height: 12.75pt;" height="17"> <td style="height: 12.75pt;" height="17">90Fontaine_50410 - KC027P (VIN# 50410) PO#</td> </tr> </tbody> </table> <table width="470" border="0" cellpadding="0" cellspacing="0"> <col style="width: 353pt;" width="470"> <tbody><tr style="height: 12.75pt;" height="17"> <td style="height: 12.75pt; width: 353pt;" width="470" height="17">88Comet_34812 - KC026P (VIN# 34812) PO#</td> </tr> <tr style="height: 12.75pt;" height="17"> <td style="height: 12.75pt;" height="17">90Fontaine_50410 - KC027P (VIN# 50410) PO#
<table width="470" border="0" cellpadding="0" cellspacing="0"><tbody><tr height="17"></tr><tr style="height: 12.75pt;" height="17"><td style="height: 12.75pt; width: 353pt;" width="470" height="17">88Comet_34812 - KC026P (VIN# 34812) PO#</td></tr><tr style="height: 12.75pt;" height="17"><td style="height: 12.75pt;" height="17">90Fontaine_50410 - KC027P (VIN# 50410) PO#</td></tr></tbody></table><table width="470" border="0" cellpadding="0" cellspacing="0"><tbody><tr height="17"></tr><tr style="height: 12.75pt;" height="17"><td style="height: 12.75pt; width: 353pt;" width="470" height="17">8Comet_34812 - KC026P (VIN# 34812) PO#</td></tr><tr style="height: 12.75pt;" height="17"><td style="height: 12.75pt;" height="17">90Fontaine_50410 - KC027P (VIN# 50410) PO#</td></tr></tbody></table>
</td> </tr> </tbody> </table>
after run a macro B10 cell need to be selected


means end of B range+1 cell selected

how can i write the code sir.
 
Upvote 0

Forum statistics

Threads
1,224,568
Messages
6,179,595
Members
452,927
Latest member
whitfieldcraig

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top