+ Reply to Thread
Results 1 to 4 of 4

Exporting data from different worksheets to create a new oulook calendar appointment

  1. #1
    Registered User
    Join Date
    11-10-2011
    Location
    Leicester, UK
    MS-Off Ver
    Office 2013
    Posts
    21

    Exporting data from different worksheets to create a new oulook calendar appointment

    Hi

    I am scratching my head at this one for a while now, I hope someone can help me

    I am trying to create a button which will create a new calendar appointment in outlook 2007

    The calendar is a shared calendar called "Customer Calendar"

    This will be populated with the data that is coming off 2 different worksheets.

    Please advise

    The data that will be needed is :

    Subject : 'order number' - 'company name' (order number is taken from "Input" E4, and the company name from "Input" E5")
    Location : 'premises name' (this is taken from "Input" E7

    The Date will be taken from "Cover Sheet" H15 (it will be an all day event)

    The Body will be standard text - "Openreach engineer booked"

    There are no need for any reminders or any flags etc etc.

    Does anybody have any ideas that will help, I have looked at the search option on here, but cannot seem to get any of them to work.

    Many thanks in advance

    Ben
    Attached Files Attached Files
    Last edited by battenborrow; 11-14-2011 at 01:15 PM. Reason: entered calendar name

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Exporting data from different worksheets to create a new oulook calendar appointm

    Hi Ben

    This code works on my local machine...I have no way to test it on a shared calendar. Try it...let me know of issues.
    Please Login or Register  to view this content.
    Attached Files Attached Files
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Registered User
    Join Date
    11-10-2011
    Location
    Leicester, UK
    MS-Off Ver
    Office 2013
    Posts
    21

    Re: Exporting data from different worksheets to create a new oulook calendar appointm

    Excellent, this works but for one issue,

    The calendar input is in my calendar and not the shared calendar, but I will find a resolve, and if I do, I will post it in here.

    Many thanks for your help, really appreciated

  4. #4
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Exporting data from different worksheets to create a new oulook calendar appointm

    You can save a lot af variables using:

    Please Login or Register  to view this content.
    NB. If you use 'CreteObject' you won't need a referecne to the outlook library
    If you use 'With new outlook' you will.

    To put the item directly into the correct calendar: (you only have to adapt the name"common outlook" to your situation)

    Please Login or Register  to view this content.
    Last edited by snb; 11-15-2011 at 08:57 AM.



+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1