+ Reply to Thread
Results 1 to 7 of 7

Calendar that inputs date in a specific cell

  1. #1
    Registered User
    Join Date
    09-13-2008
    Location
    Montreal
    MS-Off Ver
    Office XP
    Posts
    80

    Calendar that inputs date in a specific cell

    Hey all, I need help with the code used in this calendar that I found on the site.http://www.excelforum.com/developmen...ndar-form.html

    I need the code to add the selected date to a specific cell lets say cell D8
    at the moment it adds the date in any cell selected

    can anybody help
    Last edited by slmi1313; 02-09-2009 at 10:21 AM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Calendar that inputs date in a specific cell

    The code is not locked so simply find the line that adds the date & change it to the range you require. The code you need to change is in the Class Module,

    Please Login or Register  to view this content.
    Change to:



    Please Login or Register  to view this content.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    09-13-2008
    Location
    Montreal
    MS-Off Ver
    Office XP
    Posts
    80

    Re: Calendar that inputs date in a specific cell

    Awesome Thanks Roy,

    Lets say I need in the future to change the cell, I don't know how you got cell d8 out of this code
    Please Login or Register  to view this content.
    I tried this code
    Please Login or Register  to view this content.
    and naturally it didn't work

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Calendar that inputs date in a specific cell

    Cells(8,4) refers to D8 which is Row8Column4

    You can use Range("D8")

  5. #5
    Registered User
    Join Date
    09-13-2008
    Location
    Montreal
    MS-Off Ver
    Office XP
    Posts
    80

    Re: Calendar that inputs date in a specific cell

    great resolved Thanks a million

  6. #6
    Registered User
    Join Date
    11-27-2012
    Location
    London,England
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Calendar that inputs date in a specific cell

    Does anyone know?? I have the same problem but I need the date to input on two merged cells. Both on different worksheets?

  7. #7
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Calendar that inputs date in a specific cell

    Nickvii7,

    Unfortunately you need to post your question in a new thread, it's against the forum rules to post a question in the thread of another user. If you create your own thread, any advice will be tailored to your situation so you should include a description of what you've done and are trying to do. Also, if you feel that this thread is particularly relevant to what you are trying to do, you can surely include a link to it in your new thread.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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