Computer Learning Zone CLZ Access Excel Word Windows

Ask not what your profits can do for you, but what you can do for your profits.

-89th Rule of Acquisition
 
Home   Courses   Index   Templates   Seminars   TechHelp   Forums   Help   Contact   Join   Order   Logon  
 
Home > Courses > Access > Seminars > Calendar > Calendar
Back to Calendar Seminar Lessons    Comments List
Upload Images   Link   Email  
Weekly Calendar
Erin Worthington 
    
7 months ago
Lesson 6 Minute 9:30... I am making my calendar a weekly one. the code in the open calendar button keeps taking me to the first week of the month no matter what date I input. I scoured google, your vids, and previous questions, the closest answer was to "adjust the code slightly" with no other guidance on how or what to type. I am at a loss. This is what I have:

Private Sub CalculateStartDate()
'find the first sunday
  While Weekday(StartDate) <> 1
  StartDate = StartDate - 1
  Wend
End Sub
Richard Rost 
            
7 months ago
The code you have looks like it should work.

See also: First Day of Week
Adam Schwanz 
            
7 months ago
What is StartDate? Is the value of that set with something that takes it to the first week of the month instead of the current date?

In my weekly calendar I use this.
    Dim X As Date
    X = Date()

    While Weekday(X) <> 1
        X = X - 1
    Wend
    Forms!MainMenuF!WeeklyDate= X
Richard Rost 
            
7 months ago
If memory serves (and it's been a while since I recorded this) StartDate is a form field that defaults to the first day of the current month.
Erin Worthington OP 
    
7 months ago
Start date default is todays date.
=Date()
Sami Shamma 
             
7 months ago
I can't seem to find the DB of the Calendar. The ZIP file has a very small DB.
Erin Worthington OP 
    
7 months ago
I am very confused. I don't even know what DIM is yet. I know just enough to be dangerous. I will go back to the beginner and subsequent courses to find enlightenment. Thanks for taking the time to help me guys.
Sami Shamma 
             
7 months ago
Watch this Video

Intro to VBA

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

 
 
 

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 2024 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 12/14/2024 4:55:48 AM. PLT: 1s