+ Reply to Thread
Results 1 to 3 of 3

XLS how to build hidden calendar in a column?

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    01-20-2011
    Location
    liverpool
    MS-Off Ver
    Excel 2016
    Posts
    198

    XLS how to build hidden calendar in a column?

    Dear Friends,
    I spent time in searching but did not find what I am looking for.
    I have an excell, that has a column "date".
    I would like to make the data entry easy so when the user selects a cell from that column I would like a calerndar to pop up.
    Can you suggest solution please?
    Erkamu.
    Last edited by erkamu; 04-26-2014 at 08:53 PM.

  2. #2
    Forum Contributor
    Join Date
    01-20-2011
    Location
    liverpool
    MS-Off Ver
    Excel 2016
    Posts
    198

    Re: XLS how to build hidden calendar in a column?

    Please, I need your help!

  3. #3
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: XLS how to build hidden calendar in a column?

    Hello erkamu,

    The attached workbook contains two modules: frmCalendar and CmdBtn_Class. These can be imported into your workbook. This calendar will save the date the user picks into the active cell.

    This calendar also allows you to change to the date format. The date format uses the same format codes as in the Number Format dialog box.

    The macro below needs to be added to the worksheet which has the "date" column. You will need to change the "date column", column "A", in the macro to match your column.

    Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    
            If Target.Cells.Count > 1 Then Exit Sub
            
            If Intersect(Target, Columns("A:A").Cells) Is Nothing Then Exit Sub
            
            Application.EnableEvents = False
                frmCalendar.Show
            Application.EnableEvents = True
    
    End Sub
    Attached Files Attached Files
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

+ 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] build business days calendar
    By adygelber in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-16-2012, 10:38 AM
  2. Replies: 11
    Last Post: 11-15-2012, 06:43 PM
  3. calendar build problem in XL2010, OK in XL2003
    By jwright650 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-24-2011, 10:08 AM
  4. Replies: 1
    Last Post: 02-02-2011, 08:10 AM
  5. Can you build a dialog box to fill a column
    By Don Kline in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-07-2005, 03:06 PM

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