跳到主要內容

如何在Excel中創建下拉列表日曆(日期選擇器)?

使用Excel工作表中的下拉日曆,您可以輕鬆地從中選擇特定日期,而無需手動輸入。 本教程向您展示如何使用ActiveX控件在Excel工作表中創建日曆。

使用ActiveX控件在Excel中創建下拉列表日曆
用一個很酷的工具輕鬆地創建一個下拉列表日曆
下拉列表的更多教程...


在Excel中創建下拉列表日曆

要在Excel中創建下拉日曆,請執行以下操作。

備註:此方法適用於Microsoft Excel 2007和32位版本的Excel 2016、2013和2010。

1.首先,如果看不到 開發者 功能區中的“標籤”,則需要顯示如下。

  • 1)。 在Excel 2010和更高版本中,單擊 文件 > 選項。 而在中 選項 對話框,單擊 自定義功能區 在右側窗格中,檢查 開發者 框,然後單擊 OK 按鈕。 看截圖:
  • 2)。 如果您使用的是Excel 2007,請單擊 Office 按鈕> Excel選項。 在 Excel選項 對話框,單擊 熱門 在右側欄中,然後檢查 在功能區中顯示“開發人員”選項卡 框,最後單擊 OK 按鈕。

2。 然後點擊 開發者 > 插入 > 更多控件。 看截圖:

3。 在裡面 更多控制 對話框中選擇 Microsoft日期和時間選擇器控件6.0(SP6) 然後單擊 OK 按鈕。

4.然後將下拉列表繪製到您要在其中顯示的工作表,並拖動其角來調整框的大小。

5.右鍵單擊下拉列表,然後單擊 氟化鈉性能 從列表中。 在裡面 氟化鈉性能 對話框中,在 鏈接單元 框,然後關閉對話框。 看截圖:

備註:如果您將單元格B3輸入到 鏈接單元 框,當您在下拉日曆中選擇日期時,該日期將被鏈接並顯示在單元格B3中。

6.關閉窗口後,將彈出一個錯誤對話框。 氟化鈉性能 對話框, OK 按鈕。

6.現在,您需要通過單擊關閉該工作表中的“設計模式” 開發者 > 設計模式.

7.單擊箭頭按鈕以顯示下拉日曆。 在日曆中選擇日期時,它將自動填充到您在上面指定的單元格中。


用一個很酷的工具輕鬆地創建一個下拉列表日曆

由於上述方法具有Excel版本限制,因此強烈建議您使用 日期選擇器 的效用 Excel的Kutools。 使用此功能,您可以在單擊日期單元格時輕鬆地從彈出式下拉日曆中選擇日期。 請按照以下說明進行操作。

1。 點擊 庫工具 > 內容 > 啟用日期選擇器 啟用此功能。

2.啟用此功能後,單擊日期單元格,將在該單元格的右側彈出一個日曆圖標。

3.單擊日曆圖標以打開 日期選擇器 對話框,然後單擊一個新日期以替換所選單元格中的現有日期。

筆記:

  • 撤消按鈕:單擊此按鈕可以撤消替換日期;
  • 關閉按鈕:單擊此按鈕可關閉“日期選擇器”對話框;
  • 此功能僅適用於包含日期的單元格。 它跳過空白單元格和其他值單元格。

  如果您想免費試用(30天)此實用程序, 請點擊下載,然後按照上述步驟進行操作。

為了將日期快速插入空白單元格,請在此處介紹 插入日期 的效用 Excel的Kutools。 使用此實用程序,您可以輕鬆地從日曆中選擇特定格式的日期,然後雙擊即可將其插入選定的單元格。 參見下面的演示:
立即下載並試用! (30 天免費試用)


相關文章:

在Excel下拉列表中鍵入時自動完成
如果您有一個包含大值的數據驗證下拉列表,則需要在列表中向下滾動以查找合適的列表,或直接在列錶框中鍵入整個單詞。 如果在下拉列表中鍵入第一個字母時有允許自動完成的方法,一切將變得更加容易。 本教程提供了解決問題的方法。

在Excel中從另一個工作簿創建下拉列表
在工作簿中的工作表之間創建數據驗證下拉列表非常容易。 但是,如果數據驗證所需的列表數據位於另一個工作簿中,您將怎麼辦? 在本教程中,您將詳細了解如何從Excel中的另一個工作簿創建拖放列表。

在Excel中創建可搜索的下拉列表
對於具有眾多價值的下拉列表,找到合適的價值並非易事。 以前,我們已經介紹了一種在下拉框中輸入第一個字母時自動完成下拉列表的方法。 除了自動完成功能之外,您還可以使下拉列表可搜索,以提高在下拉列表中查找適當值時的工作效率。 為了使下拉列表可搜索,請嘗試本教程中的方法。

在Excel下拉列表中選擇值時自動填充其他單元格
假設您已經根據單元格區域B8:B14中的值創建了一個下拉列表。 在下拉列表中選擇任何值時,都希望在選定單元格中自動填充單元格範圍C8:C14中的相應值。 為了解決該問題,本教程中的方法將對您有所幫助。

下拉列表的更多教程...

最佳辦公生產力工具

🤖 Kutools 人工智慧助手:基於以下內容徹底改變數據分析: 智慧執行   |  生成代碼  |  建立自訂公式  |  分析數據並產生圖表  |  呼叫 Kutools 函數...
熱門特色: 尋找、突出顯示或識別重複項   |  刪除空白行   |  合併列或儲存格而不遺失數據   |   沒有公式的回合 ...
超級查詢: 多條件VLookup    多值VLookup  |   跨多個工作表的 VLookup   |   模糊查詢 ....
高級下拉列表: 快速建立下拉列表   |  依賴下拉列表   |  多選下拉列表 ....
欄目經理: 新增特定數量的列  |  移動列  |  切換隱藏列的可見性狀態  |  比較範圍和列 ...
特色功能: 網格焦點   |  設計圖   |   大方程式酒吧    工作簿和工作表管理器   |  資源庫 (自動文字)   |  日期選擇器   |  合併工作表   |  加密/解密單元格    按清單發送電子郵件   |  超級濾鏡   |   特殊過濾器 (過濾粗體/斜體/刪除線...)...
前 15 個工具集12 文本 工具 (添加文本, 刪除字符,...)   |   50+ 圖表 類型 (甘特圖,...)   |   40+ 實用 公式 (根據生日計算年齡,...)   |   19 插入 工具 (插入二維碼, 從路徑插入圖片,...)   |   12 轉化 工具 (數字到單詞, 貨幣兌換,...)   |   7 合併與拆分 工具 (高級合併行, 分裂細胞,...)   |   ... 和更多

使用 Kutools for Excel 增強您的 Excel 技能,體驗前所未有的效率。 Kutools for Excel 提供了 300 多種進階功能來提高生產力並節省時間。  點擊此處獲取您最需要的功能...

產品描述


Office選項卡為Office帶來了選項卡式界面,使您的工作更加輕鬆

  • 在Word,Excel,PowerPoint中啟用選項卡式編輯和閱讀,發布者,Access,Visio和Project。
  • 在同一窗口的新選項卡中而不是在新窗口中打開並創建多個文檔。
  • 將您的工作效率提高 50%,每天為您減少數百次鼠標點擊!
Comments (18)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
can't format a date
This comment was minimized by the moderator on the site
Step 3 i do not have that option on my list of items to choose from
This comment was minimized by the moderator on the site
Hi Rachel,
This problem may cause by a different version of Excel. Sorry can't help you with this issue. Maybe you can try the third-party tool recommended in the article.
This comment was minimized by the moderator on the site
I don't have any date picker
This comment was minimized by the moderator on the site
I have purcharsed the software; but the option for DATE PICKER is not available. Please advise
This comment was minimized by the moderator on the site
Hi Monica Mills,Please contact our after-sale service via .
Please try to be more specific about your issue in the email, and you will get the solution quickly.
Sorry for the inconvenience.
This comment was minimized by the moderator on the site
The SP6 choice doesn't appear in my drop down list.
This comment was minimized by the moderator on the site
Is there a way to apply this technique to a range of cells
This comment was minimized by the moderator on the site
Hi,
You can try the VBA method in this article: https://www.extendoffice.com/documents/excel/4346-excel-click-cell-popup-calendar.html
Hope I can help.
This comment was minimized by the moderator on the site
I want to change the weekend days from Sunday and Saturday to only Friday. But couldn't find the calendar option in MS Excel 2007. Please help
This comment was minimized by the moderator on the site
Hi Tabassum,
There is no option in Excel 2007 to change the weekend days.
You can change it in networkdays functions.
This comment was minimized by the moderator on the site
When I draw the drop down list to the worksheet where I want it to appear i receive the following message "cannot insert object".
This comment was minimized by the moderator on the site
Hi,
It's hard to figure out the problem with your simple description. Please create a new workbook for testing or attach your file if you don't mind.
This comment was minimized by the moderator on the site
THANK YOU, IT HELPS ME A LOT.
This comment was minimized by the moderator on the site
Can't I simply paste in other cells? I tried and changed the cell position in properties and it's not working
This comment was minimized by the moderator on the site
Dear Eduarda,
You can paste the selected date in other cell by changing the Linkedcell position in the properties dialog box.
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations