Day of Week using a calendar to txt box

godzilla65

Board Regular
Joined
Nov 25, 2004
Messages
122
Hi to all the experts from a new access novice.

So far so good.................But is it possible within a form to use
a calendar which I have working all aok to actually insert the DAY OF WEEK in the same form for say my textbox "text64", So if I select November 28th it know that it is a MON and inserts in my text box, I got the calander happening, but cant work this DAY bit out, mayb its not possible with this callendar? any help appreciated, as I say I get it to place the actual date in my textbox61 all aok

Class:MSCAL.Calendar.7 which places the calendar date into a text box

Private Sub Calendar3_AfterUpdate()
Dim Pickupdate
Pickupdate = Calendar3.Value
Text61.Value = Pickupdate
Text70.SetFocus
Calendar3.Visible = False
End Sub

Cheers Eric
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
You can use the Format function to display a date however you like:

Me.Text64 = Format(Pickupdate, "dddd")
 
Upvote 0
BMACR !!!! Brilliant exactly what I wanted !!!! Thanks for that.............took me sec to work out I had to add to code but got there and is xactly wot i required ..............................special thx
 
Upvote 0

Forum statistics

Threads
1,215,064
Messages
6,122,939
Members
449,094
Latest member
teemeren

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