+ Reply to Thread
Results 1 to 2 of 2

Merging 2 cells in a calendar program

  1. #1
    Forum Contributor
    Join Date
    07-08-2015
    Location
    Indiana
    MS-Off Ver
    Excel 2007
    Posts
    128

    Merging 2 cells in a calendar program

    Hello

    I am having a tough time to program a certain section of my shift schedule program.

    In my code, I am attempting to make a monthly calendar, draw boxes around each day, week, and the month.

    The calendar is set up so that each day takes up 10 rows. the first row is for the actual date (1st, 2nd....)

    The next 9 rows are set aside for scheduling shifts.

    I know my code is NOT computer friendly-- it takes a lot of time first filtering through each cell in the first row for the date, then each cell for the formatting of each row. Its the only way i could get it to work.

    BUT, I need the first 2 columns in each date to be merged so that i can have it put the shift and the persons name.

    For example, if you run test it, using July 2016 as an example, on July 10th, (in cell A&B 24- Axel Rose should be scheduled for a shift of 8am - 10 pm. And David Lee Roth should be in A&B 25 for a 10am - 10pm shift). When you open the attachment, you will see July 2016 and can see how it is looking and where the 2 schedules shlould be.

    But I can not for the life of me figure out how to first test if its in the first 2 cells of each day, and merge them, and skip the next column (where at the top of the day is the actuly number).

    I appreciate any assistance in getting this task completed in advance.

    PS There is much that is still commented out and still work to be done. Once I can get this portion, I will be going back to the user for critiques and revisions of the time formats used. Then it will be all downhill programming after that.

    Thanks again.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor bulina2k's Avatar
    Join Date
    11-20-2012
    Location
    Urziceni, Ialomita, Romania
    MS-Off Ver
    2019 and 365
    Posts
    867

    Re: Merging 2 cells in a calendar program

    Hi there!
    I think you should replace the
    Please Login or Register  to view this content.
    with

    Please Login or Register  to view this content.
    .. and don't forget to have fun!
    Bogdan.

    mark SOLVED and Add Reputation if my answer pleases you

+ 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] How to combine similar cells, while merging data in other cells
    By Sut703 in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 05-27-2014, 04:17 PM
  2. VBA-How to program sizing and placing Excel window at the start of the program
    By dr.prakash in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-17-2013, 11:45 PM
  3. [SOLVED] Merging two lists together using VBA program
    By excelslizzard in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-09-2012, 05:15 PM
  4. Merging two lists together using VBA program
    By excelslizzard in forum Excel General
    Replies: 1
    Last Post: 05-09-2012, 03:55 PM
  5. Replies: 6
    Last Post: 01-15-2012, 08:57 AM
  6. Merging cells/merging cell content.
    By rhintintin in forum Excel General
    Replies: 3
    Last Post: 09-23-2010, 10:42 AM
  7. Cells Program
    By Paul in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-08-2005, 01:05 AM

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