+ Reply to Thread
Results 1 to 7 of 7

Run Macro when click on merged cells

  1. #1
    Forum Contributor
    Join Date
    02-12-2018
    Location
    Clearwater, FL
    MS-Off Ver
    MS 365
    Posts
    217

    Run Macro when click on merged cells

    I have a sheet called "TSA Request" and in cell F8:I8, I want the agents to put the date needed. I created a userform1 which is calendar that when I click in that range, it will pop open the calendar and put the date in the Cell F8:I8 which I select from the calendar. I believe I have everything together - just need the VBA to do as I need. I have attached the sheet for any help. Thank you in advanced!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Run Macro when click on merged cells

    you have 2 dates in calender, wich 1 has to go to range F8 ?

    Kind regards
    Leo

  3. #3
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Run Macro when click on merged cells

    In Worksheet
    Please Login or Register  to view this content.
    For CommanButton OK on Userform
    Please Login or Register  to view this content.
    Kind regards
    Leo
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    02-12-2018
    Location
    Clearwater, FL
    MS-Off Ver
    MS 365
    Posts
    217

    Re: Run Macro when click on merged cells

    Leo the only issue now is that the months and days are not populating in the calendar correctly - can you assist?

  5. #5
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Run Macro when click on merged cells

    I did not make any changes to that part, and here it is populating correct
    so wondering, remove the code provided by me and see if there is any difference



    Kind regards
    Leo

  6. #6
    Forum Contributor
    Join Date
    02-12-2018
    Location
    Clearwater, FL
    MS-Off Ver
    MS 365
    Posts
    217

    Re: Run Macro when click on merged cells

    This is the code I am getting an error at:
    Please Login or Register  to view this content.
    The calendar doesn't show any months or years & the days are more than they are in a month (example: 42).

  7. #7
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Run Macro when click on merged cells

    and wich part in this sub is different then before ?

    Kind regards
    Leo

+ 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. Filters of merged cells Macro help please
    By Darkprophecy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-28-2015, 05:53 AM
  2. Replies: 0
    Last Post: 11-25-2014, 07:08 AM
  3. automatically fit an image into merged cells for full width of merged cells
    By Marcin4111 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 11-18-2014, 03:12 PM
  4. Replies: 1
    Last Post: 06-28-2012, 11:53 AM
  5. How to click macro - Move right 15 cells - Next click move back to home position
    By Launchnet in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 07-05-2010, 10:47 PM
  6. Double Click in Merged Cells to insert and delete an "X"
    By Ripperdan in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-16-2010, 10:07 AM
  7. [SOLVED] Protecting merged cells via Macro
    By Shane in Canberra in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-01-2006, 03:35 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