Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Calendar Seminar Lessons    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Access Calendar course
Normand Genier 
    
5 years ago
Hello Rick, I'm following your calendar course and this code as per your course is not working for me (keep highlighting the Private Sub and first Calendar) with Access 2013... What I'm I doing wrong?

Private Sub CalculateStartDate()
    StartDate = DateSerial(Year(Calendar), month(Calendar), 1)
    While Weekday(StartDate) <> 1
    StartDate = StartDate - 1
    Wend
        
End Sub


Private Sub Command2_Click()

    CalculateStartDate
    DoCmd.OpenForm "MonthlyCalendarF"
    
End Sub
Kevin Robertson  @Reply  
          
5 years ago
If memory serves Calendar refers to the ActiveX Calendar Control which no longer exists in Access. There are a couple of addendums to the Calendar Seminar that should help.
Scott Axton  @Reply  
        
5 years ago
What is the error you are getting.  What line is highlighted?
We need more info.  Post a screenshot of your error - upper right corner of your post - upload images.
Alex Hedley  @Reply  
            
5 years ago
What control is Calendar?
Richard Rost  @Reply  
           
5 years ago
Yeah... some screen shots would be helpful. This seminar is 12 years old, so you'll have to jog my memory. What specific lesson / time index does this appear?
Normand Genier OP  @Reply  
    
5 years ago

Normand Genier OP  @Reply  
    
5 years ago

Normand Genier OP  @Reply  
    
5 years ago

Normand Genier OP  @Reply  
    
5 years ago

Richard Rost  @Reply  
           
5 years ago
OK, but what is Calendar? Did you name a module "Calendar"?
Normand Genier OP  @Reply  
    
5 years ago
Hi Rick, I don't think I named a module Calendar. Just followed your coarse and I can see that it work in the coarse but when I apply it in my Access 2013 it keep giving me that bug. This coding is to have the first day of the calendar to be a Sunday...
Alex Hedley  @Reply  
            
5 years ago
Whats the name of the Start Date textbox?
Richard Rost  @Reply  
           
5 years ago
Access is looking for an object called "Calendar" and it can't find it. What's Calendar supposed to be?
Kevin Robertson  @Reply  
          
5 years ago
Calendar was the ActiveX Control, It was later changed to the following (see screenshot)
Kevin Robertson  @Reply  
          
5 years ago

Richard Rost  @Reply  
           
5 years ago
It's been so long since I recorded this, I need to refresh my noodle. I'm planning on giving it a full overhaul soon too.
Normand Genier OP  @Reply  
    
5 years ago
Alex the name of the Start Date textbox is: StartDate
Scott Axton  @Reply  
        
5 years ago
Sorry typo Calendar Control Addendum
This one^^^
Normand Genier OP  @Reply  
    
5 years ago
Thank you Scott, everything is good now. Also thanks to everybody for the help. Appreciate.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Calendar Seminar Lessons.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 6/16/2026 12:28:05 PM. PLT: 1s