Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Contacts / February 2006

Tip: Looking for answers? Try searching our database.

Creating new appointment & setting its properties

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
dim4x4 - 01 Feb 2006 08:05 GMT
Hello everybody!

This is my first message here and first macro I'm trying to do in
Outlook (I did some for Excel before, albeit with macro recorder =)

Basically, I'm creating a new appointment (the code was borrowed from a
message from this group or some forum). Below is part of the code and 2
things I'm struggling to do.

With objAppointment
       .Subject = "Call "
       .Start = ' PROBLEM 1: Here I want to put a time of a current
selection in a daily view of the calendar (don't know how to do it)
       .Duration = 5
       .ReminderMinutesBeforeStart = 0
       .Save
       .Display
End With

PROBLEM 2: When appointment is created and opened I was the cursor to
be in a subject line after the word "Call ", so that I can finish
typing the subject, eg. "Call Bill Gates" =)

Would appreciate any advise. Thank you!
dim4x4 - 01 Feb 2006 08:07 GMT
Oops, should have posted this to microsoft.public.outlook.program_vba

Sorry!
Brian Tillman - 01 Feb 2006 18:10 GMT
> This is my first message here and first macro I'm trying to do in
> Outlook (I did some for Excel before, albeit with macro recorder =)

Programming questions are more appropriately asked in one of the programming
newsgroups, like
news://msnews.microsoft.com/microsoft.public.outlook.program_vba
Signature

Brian Tillman

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.