+ Reply to Thread
Results 1 to 1 of 1

Excel VBA Calendar Pulling Data From Another Sheet

  1. #1
    Registered User
    Join Date
    07-27-2017
    Location
    London
    MS-Off Ver
    Mac MS 2016
    Posts
    5

    Excel VBA Calendar Pulling Data From Another Sheet

    I am new to VBA however not so new to Excel. I have coded before but as I do not know the language I have no idea where to begin. Here's the situation:

    I have two sheets:
    1. Contains a list of jobs that are to occur with a Start Date, End Date, Status (In Progress/Completed/Scheduled) and Company Name (of the company performing the job)
    2. A Calendar of sorts with three columns: the previous month, the current month and the next month. Each row in this sheet represents a different day. I have attached an image as to what this sheet looks like. Sheet2, the Calendar


    What I would like to Do
    1. I would like the calendar to be filled with the company names on the days jobs are being performed. So if the Jobs Sheet has data that says Company X is to be performing a job from Y Date to Z Date, I would like the calendar to say Company X for Y Date through to Z Date
    2. I would like each company name in the calendar to sheet to have a hyperlink to the appropriate row in the Jobs Sheet.
    3. I would like the font colour of the company name in the calendar to be different depending on its status, as stated in the Job Sheet.


    My Problems
    1. I am unsure how to do this has there is only one cell for each day so if there are multiple jobs to be performed on the same day, would it be possible to have a hyperlink?
    2. I initially tried doing this using just formulas however the VLOOOKUP was only ever going to return the first match in dates it finds. As I mentioned earlier I have no idea where to begin when it comes to VBA.


    I look forward to seeing all your replies and suggestions and thank you for taking the time out to read this looong post!
    Attached Images Attached Images

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Excel: Pulling Data from one sheet to another if condition met
    By ukman408 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 10-14-2016, 01:53 PM
  2. Problem with pulling data to my userform from Excel sheet
    By Roampie in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-07-2015, 10:14 AM
  3. Create calendar on one sheet by pulling dates from another
    By MHouse4 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-25-2013, 03:09 AM
  4. [SOLVED] Need An Excel Macro for Pulling in Data from one sheet to Another
    By chiru7963 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-11-2012, 09:11 AM
  5. Pulling data from one sheet to another in excel
    By SallyW-EDUK in forum Excel General
    Replies: 5
    Last Post: 11-01-2012, 11:46 AM
  6. Pulling data from different sheets to make a calendar?
    By vswisher in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-11-2009, 08:14 AM

Tags for this Thread

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