You can try this as well (Data Validation):
Use With Sheets("WorksheetName").
before Range("G27").Validation
if used under Private Sub Workbook_Open()
Or, under any standard module. Use as below if used under Private Sub Worksheet_Activate()
With Range("G27").Validation
.Delete
.Add Type:=xlValidateWholeNumber, AlertStyle:=xlValidAlertStop, _
Operator:=xlLessEqual, Formula1:="=K13"
.IgnoreBlank = True
.InCellDropdown = True
.InputTitle = "Input Title"
.ErrorTitle = "Error Title"
.InputMessage = "Input Msg"
.ErrorMessage = "Error Msg"
.ShowInput = True
.ShowError = True
End With
FYI:
Data Validation can be used without vba i.e directly from excel. You have option of AlertStyle (Information,Warning,Stop) and Input Title. See http://office.microsoft.com/en-001/excel-help/apply-data-validation-to-cells-HP010342173.aspx