How to Learn Word Tip Every Day by Adding a “Tip of the Day” Feature in Your Word

In this article, we will show you the way to add a “Tip of the Day” feature in Word to learn new Word skills every day.

Since Word is so closely related to our working, it would be such a great help to learn some tips of it as to improve efficiency. Therefore, we want to show you the method to add a “Tip of the Day” feature in your Word, so you can learn some new stuff every time you start Word.Adding a "Tip of the Day" Feature in Your Word

To do so, we suggest you to find some Word tips you might be interested and put them in an Excel file. Here is detailed explanation:

Create an Excel File

  1. First of all, start Excel.
  2. Rename the first sheet as “Tips”.
  3. Next, enter “Number”, “Tip” and “Times” into the first cell of first three columns.
  4. Then in “Number” column, enter numbers to number tips.
  5. In the “Tip” column, input each tip in one cell.
  6. And in the “Times” column, click to select the entire column and right click and choose “Format Cells”.
  7. In the “Format Cells” box open, select “Number” under “Number” tab.
  8. Choose “0” for the “Decimal places” and click “OK”.Select "Number" under "Number" Tab->Choose "0" for "Decimal places"->Click "OK"
  9. Noe in the “Times” column, type “0” (zero).
  10. Lastly, name the file as “Tip of the Day” and keep it in “C:\Users\Public\Documents\Sample”. This path is optional. You can store the file at any location you like. But we suggest you naming the file and sheet as same as we do.Create an Excel File

You can click here to download a sample file.

Insert a Module in VBA Project

  1. To begin with, press “Alt+ F11” to trigger VBA editor.
  2. Secondly, click “Normal” project.
  3. Thirdly, click “Insert” and choose “Module”.Click "Normal"->Click "Insert"->Click "Module"
  4. Next open new module by double clicking on it.
  5. Paste the following codes there:
Sub AutoExec()
  Dim nCellIndex As Integer
  Dim nMinCellValue As Integer
  Dim nMinCellIndex As Integer
  Dim objExcel As Excel.Application
  Dim objWorkbook As Excel.Workbook
  Dim objWorksheet As Excel.Worksheet
  Set objExcel = CreateObject("Excel.Application")
  Set objWorkbook = objExcel.Workbooks.Open("C:\Users\Public\Documents\Sample\Tip of the Day.xlsx")
  Set objWorksheet = objWorkbook.Sheets("Tips")
  ' Initialization
  nMinCellValue = 0
  nMinCellIndex = -1
  For nCellIndex = 2 To objWorksheet.UsedRange.Rows.Count
    If (nMinCellIndex = -1) Then
      nMinCellValue = objWorksheet.Cells(nCellIndex, 3).Value
      nMinCellIndex = nCellIndex
      If (objWorksheet.Cells(nCellIndex, 3).Value < nMinCellValue) Then
        nMinCellValue = objWorksheet.Cells(nCellIndex, 3).Value
        nMinCellIndex = nCellIndex
      End If
    End If
  Next nCellIndex
  frmTipOfTheDay.txtTipOfTheDay.Text = objWorksheet.Cells(nMinCellIndex, 2).Value
  frmTipOfTheDay.Show Modal
  objWorksheet.Cells(nMinCellIndex, 3).Value = objWorksheet.Cells(nMinCellIndex, 3).Value + 1
  objWorkbook.Close SaveChanges:=True
  ' Close Excel application using the Quit method.
  ' Release the object variable.
  Set objExcel = Nothing
End Sub


In code line:

Set objWorkbook = objExcel.Workbooks.Open("C:\Users\Public\Documents\Sample\Tip of the Day.xlsx")

The string represents the full name of the Excel file we created just now. Modify it accordingly.

  1. Finally, click “Save” to save codes.Paste Codes->Click "Save"

Insert a User Form

Still, in VBA editor, you need to insert a user form to show the tip. This is what you need to create:Insert a User Form

  1. Similarly, click “Insert”.
  2. Only this time, you choose “UserForm”.
  3. Next press “F4” to open the “Properties Window” at the left down-corner.
  4. Name the form as “frmTipOfTheDay”.
  5. Choose a background color for the form.
  6. And enter “Tip of the Day” for “Caption”.
  7. Set “ShowModal” as “False”.Set "Name", "BackColor" and "Caption" for the User Form
  8. Next click “View” tab and choose “Toolbox”.
  9. On tool box, click “Label”.
  10. Draw a label on the form.
  11. And click on the label. Type “Tip of the Day” for its caption. And set the background style as transparent. Besides, set font size and color.
  12. Now click “TextBox” on tool box. Draw a text box on the form.
  13. Click on text box and set the text box properties properly. Name it as “txtTipOfTheDay”. And choose “True” for “MultiLine”. In addition, choose font type and size. Choose a vertical scroll bar for the text box.
  14. Next choose “CommandButton” from tool box.
  15. Click on the button and name it as “btnClose”. Set the caption as “Close”.
  16. And double click “Close” button and enter a codes, such as below:Enter Codes->Click "Save"
  17. And save codes.

Next go to assign a button for macro “AutoExec”. For detailed steps, please refer to this article: How to Remove the Formatting of Pasted Texts with Macro and VBA in Your Word

Here is the final effect:Effect

Back up Now

No one wants to experience data corruption. But the truth is it’s very likely to happen, with no warning. Under such circumstances, it’s time for your backup to do its job. However, you must have at least one backup dating back to a certain time point. Without one, you will have to find a tool to repair docx.

Author Introduction:

Vera Chen is a data recovery expert in DataNumen, Inc., which is the world leader in data recovery technologies, including corrupt xlsx and pdf repair software products. For more information visit

Comments are closed.