...
【24h】

Making a date

机译:约会

获取原文
获取原文并翻译 | 示例
           

摘要

Entering dates into a spreadsheet can be tricky, with scope for errors and format confusion. Financial packages like Microsoft Money let you pick dates from a calendar when making transaction entries. You can have the same feature when creating spreadsheets if they are produced with recent versions of Excel (see screenshot 1). It's not only convenient but guarantees a valid date is entered. Open a new workbook. Press Alt & F11 to start the VBA editor. On the Insert menu choose UserForm. A blank form and a Toolbox should open. If there's no Toolbox, choose Toolbox on the View menu. Right-click on a space in the Toolbox f and choose Additional Controls. I Scroll down until you find Calendar Control 9 or 10 and choose it. This adds another tool to the Toolbox.
机译:在电子表格中输入日期可能会很棘手,可能会出现错误和格式混乱。像Microsoft Money这样的金融软件包,使您可以在进行交易输入时从日历中选择日期。如果电子表格是使用最新版本的Excel生成的,则在创建电子表格时,您可以具有相同的功能(请参见屏幕截图1)。这不仅方便,而且可以确保输入有效日期。打开一个新的工作簿。按Alt和F11启动VBA编辑器。在插入菜单上选择用户窗体。一个空白表格和一个工具箱应该打开。如果没有工具箱,请在“视图”菜单上选择“工具箱”。右键单击“工具箱” f中的空格,然后选择“其他控件”。我向下滚动,直到找到Calendar Control 9或10,然后选择它。这将另一个工具添加到工具箱。

著录项

获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号