Spreadsheet dates in a calendar layout?

stereosympathy

Board Regular
Joined
Nov 11, 2006
Messages
142
HI,

I have a sheet pasted below, I am wondering if it is possible to take data and have it automatically laid out in a calendar format. Say all the dates in column G could be sorted into a calendar with reference text from column E. Any help on this would be appreciated.
Unique Print Schedule.xls
ABCDEFGHIJKLM
9162125961239/4/2007JudsonJusdonRockets29/10/2007300UPSGNDApprovedNone1518-125WHHCGrommet25pcsONLY!!!!
10162555962149/5/2007MCASA1PhilipWelpSoccer29/10/2007200UPSGNDAwaitingAppNone1525-23WHHL
119/6/2007SuccessPromotionsSpringfieldCardinals39/11/20074800ADVISEApprovedNone1518-15WHHP
12162759/6/2007UNICH1NorthCarolinaFieldHockey29/11/20072006UPSGNDAwaitingAppNone1118-12DCARBLUE6SamplestoDonnyDonDon
13162789/6/2007WilsonNFLShield49/12/2007500UPSGNDApprovedNone1625WHMW
14SuccessPromotionsSpringfieldCardinals39/12/20075000ADVISEApprovedNone1518-15WHHP
1516215-A5961249/4/2007CustomTowelsUPS19/13/2007150UPSGNDApprovedNone1118-12WHHRHook&GrommetInsureShipment
16AguaExerciseWithAltitude19/13/2007150UPS2DayAwaitingAppNone1625-25WHHC
17163045874769/7/2007GREGREGCHSTigres29/14/200775UPSGNDApprovedNone1525-23-BKHLShipFromTeamSpiritTowels
18157505942668/6/2007GreenBayPackersForceProud2BLoud39/17/2007144,002UPSGNDApprovedNone1118-12WHHRNone
19157788/7/2007PPISportsU.S.Cellular/Wisconsin"W"39/18/200755,200ADVISEApprovedNone1118-12WHHRusesecondsforextra's
20157535936788/6/2007McArthurArizonaCardinals49/20/200767,006ODFLApprovedStrikeSent1218-13WHFI6postProToDon
21162049/4/2007PPISportsMichiganGoBlue19/20/20071016UPSGNDAwaitingAppNone1118-12PMS10910towelstoGregCannon6toDon
22162569/7/2007TimeWarnerBuffaloBills"Billieve59/26/200760036ODFLAwaitingAppNone1118-12WHHR36postprotoDonnyDon
238/31/2007AguaWreckEmTech?10/1/20071005UPSGNDAwaitingAppNone1518-125WHHC
248/28/2007AguaGoHogs310/1/20071005UPSGNDAwaitingAppNone1518-125WHHC
UpComingOrders
 
Replace the existing code for the corresponding lines in the macro with the following lines. That should work.

Code:
varFirstOfMonth = varCalMonth & "/01/"  & strYear ' this is now set up in US date format mm/dd/yyyy 
strCalMonth = MonthName(varCalMonth)

Let me know if the code does everything that you want.
regards
Michael :biggrin:
 
Upvote 0

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
That didn't work either. Its weird that it works on your and not on mine. I tried formatting the date in numerous ways but nothing I do does anything. Do you think it could be because I am not displaying a 2 digit number for the month date? I posted an updated version of my sheet below for reference. I really do appreciate all your help and please don't go to any trouble to fix the problem. Thanks a lot.
Unique Print Schedule.xls
ABCDEFGHIJKLMN
5PrintTotal:230,581CurentMonthPrintTotals:129,020Note:ScrollOverPO#ToViewJobStatus&Scheduling
6
7POSALESDATESHIPSHIPTOWEL
8NUMORDERNUMREC'DCUSTOMERPRINTNAMEScreensDATEQTYTypePPAPPSTKAPPModelHandlingComplete
9164085969599/14/2007NFLNENFLFutbolAmericano49/17/2007202FEDEXREDApprovedNone1218-13WHFIShipFedexOvernight!
1016346-A5966889/10/2007AguaSunstreetMortgage29/18/2007302FEDEXREDApprovedNone1626-30WHDCHook&Grommet
119/13/2007AguaMcDonaldsHacerGolfOuting59/18/2007304UPSGNDApprovedNone1626-30WHDCHook&Grommet
12157535936788/6/2007McArthurArizonaCardinals49/20/200767,006ODFLApprovedNone1218-13WHFI6postProToDon
13162049/4/2007PPISportsMichiganGoBlue19/20/20071016UPSGNDAwaitingAppNone1118-12PMS10910towelstoGregCannon6toDon
14163255965409/10/2007AguaGolfEtc.19/24/2007154UPSGNDApprovedNone1626-30WHDCHook&Grommet.4samplestosend
15162569/7/2007TimeWarnerBuffaloBills"Billieve59/26/200760036ODFLApprovedNone1118-12WHHR36postprotoDonnyDon
16162318/31/2007AguaWreckEmTech?10/1/20071005UPSGNDApprovedNone1518-125WHHCNone
17162328/28/2007AguaGoHogs310/1/20071005UPSGNDApprovedNone1518-125WHHCNone
18162378/28/2007AguaUConnHuskies310/3/20071005UPSGNDApprovedNone1518-125WHHCNone
19162428/28/2007AguaGoBulldogs310/3/20071505UPSGNDApprovedNone1518-125WHHCNone
20164099/14/2007ChargersSanDiegoChargers410/4/200768006ODFLAwaitingAppStrikeNeeded1518-15WHHLLabel:ChargersRallyTowel
21163109/9/2007FirstNationalBankKansasUniversityHomecoming210/30/200725018ODFLAwaitingAppStrikeNeeded1118-13RYFCStriketoCorey&Vern
UpComingOrders
 
Upvote 0
I had assumed that the dates started in row 2. I note that you start in row 9. Try replacing the following third line of this code

Code:
' Now fill in the daily sheets 
Sheets("UpComingOrders").Select 
lngInputRow = 2

with
Code:
lngInputRow = 9
Michael
 
Upvote 0
No problems. A good opportunity forme to further develop my VBA skills. all the best.
Michael
 
Upvote 0

Forum statistics

Threads
1,216,098
Messages
6,128,812
Members
449,468
Latest member
AGreen17

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