Macro to auto-populate date and time in text format

excelpuzzled

New Member
Joined
Jun 7, 2012
Messages
1
I need help scheduling my tweets in bulk.

I think there's a way to use Excel to automatically create a 5-day calendar. Maybe a macro?

The date format must be dd/mm/yyyy hh:mm and it must be in text format. If its June 9, 2012 at 6pm - the correct format is: 12/06/2012 18:00

I want to post 5 times a day: 09:05, 9:55, 10:45, 16:55 and 18:00.

Column A is where the date and time goes. Ideally, I'd enter in A1 the start date and then run a macro that would automatically populate the next 5 consecutive days with the specific times above (so 25 rows total in column A).

I have to save the file as a csv file, so the date and time format has to be in text or I'll get an upload error in Hootsuite.

Thanks in advance for any help or suggestions!
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

Cell Formulas
RangeFormula
A2=TEXT($A$1+9/24+5/24/60,"dd/mm/yyyy hh:mm")
A3=TEXT($A$1+9/24+55/24/60,"dd/mm/yyyy hh:mm")
A4=TEXT($A$1+10/24+45/24/60,"dd/mm/yyyy hh:mm")
A5=TEXT($A$1+16/24+55/24/60,"dd/mm/yyyy hh:mm")
A6=TEXT($A$1+18/24,"dd/mm/yyyy hh:mm")
A7=TEXT($A$1+1+9/24+5/24/60,"dd/mm/yyyy hh:mm")
A8=TEXT($A$1+1+9/24+55/24/60,"dd/mm/yyyy hh:mm")
A9=TEXT($A$1+1+10/24+45/24/60,"dd/mm/yyyy hh:mm")
A10=TEXT($A$1+1+16/24+55/24/60,"dd/mm/yyyy hh:mm")
A11=TEXT($A$1+1+18/24,"dd/mm/yyyy hh:mm")
A12=TEXT($A$1+2+9/24+5/24/60,"dd/mm/yyyy hh:mm")
A13=TEXT($A$1+2+9/24+55/24/60,"dd/mm/yyyy hh:mm")
A14=TEXT($A$1+2+10/24+45/24/60,"dd/mm/yyyy hh:mm")
A15=TEXT($A$1+2+16/24+55/24/60,"dd/mm/yyyy hh:mm")
A16=TEXT($A$1+2+18/24,"dd/mm/yyyy hh:mm")
A17=TEXT($A$1+3+9/24+5/24/60,"dd/mm/yyyy hh:mm")
A18=TEXT($A$1+3+9/24+55/24/60,"dd/mm/yyyy hh:mm")
A19=TEXT($A$1+3+10/24+45/24/60,"dd/mm/yyyy hh:mm")
A20=TEXT($A$1+3+16/24+55/24/60,"dd/mm/yyyy hh:mm")
A21=TEXT($A$1+3+18/24,"dd/mm/yyyy hh:mm")
A22=TEXT($A$1+4+9/24+5/24/60,"dd/mm/yyyy hh:mm")
A23=TEXT($A$1+4+9/24+55/24/60,"dd/mm/yyyy hh:mm")
A24=TEXT($A$1+4+10/24+45/24/60,"dd/mm/yyyy hh:mm")
A25=TEXT($A$1+4+16/24+55/24/60,"dd/mm/yyyy hh:mm")
A26=TEXT($A$1+4+18/24,"dd/mm/yyyy hh:mm")
 
Upvote 0

Forum statistics

Threads
1,214,985
Messages
6,122,602
Members
449,089
Latest member
Motoracer88

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