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

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

bmacr

Board Regular
Joined
Jan 14, 2004
Messages
94
You can use the Format function to display a date however you like:

Me.Text64 = Format(Pickupdate, "dddd")
 

godzilla65

Board Regular
Joined
Nov 25, 2004
Messages
122
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
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,117
Messages
5,835,489
Members
430,358
Latest member
zzc1128

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
Top