Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 1st, 2010, 03:02 AM
Registered User
 
Join Date: May 2010
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Help regarding reminders about birthdays of employees in advance(2days)

Hi,

Thanks for all your ultimate support my previous posts.

I am facing difficulty in writing a code for birthday reminders employees based on their status of employment. in detail

Query:
In sheet1 column “A” contains employee names, column B contains DOB’s of employees, and column “C” (working, Resigned)contains the status of the employment, I would like to write a program in VBA to start reminding me about the employee birthdays in advance of two days along with the names if employee status is “working” , else reminder is not required.

I request any one of you to help me in writing this code, so that I don’t miss any of reminders


Regards
GV Reddy
 
Old June 1st, 2010, 08:07 AM
Friend of Wrox
 
Join Date: Sep 2005
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts
Default

Hi

You can write a small code and use Application.OnTime to fire the macro at regular interval. Say every day @ 7:00 am etc

The drawback here is the workbook/addin in which you write the code should be open.

The other option would be to write a small executable using VB6.0 etc and load them in Windows scheduler. The VB6.0 exe can read the Excel and prompt a message etc

Cheers
Shasur
__________________
C# Code Snippets (http://www.dotnetdud.blogspot.com)

VBA Tips & Tricks (http://www.vbadud.blogspot.com)





Similar Threads
Thread Thread Starter Forum Replies Last Post
About Reminders in Sql Server 2000 sanjivbshinde SQL Server 2005 1 March 2nd, 2007 02:02 PM
Tracking of Contract Dates for Employees lushh Access 2 October 16th, 2006 03:50 AM
C# Advance with ASP.NET rupen Wrox Book Feedback 2 April 28th, 2005 09:40 AM
mousewheel causes subform to advance a record Loralee Access VBA 1 October 27th, 2004 11:14 PM
Calculating upcoming birthdays in Access 97 Andrew Antoniak Access VBA 0 September 10th, 2004 10:00 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.