Skip to content

Commit

Permalink
fixed error message in add-in
Browse files Browse the repository at this point in the history
  • Loading branch information
fzumstein committed Nov 30, 2015
1 parent d8ac32c commit 36f3cc3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Binary file modified xlwings/xlwings.xlam
Binary file not shown.
4 changes: 3 additions & 1 deletion xlwings/xlwings.xlam.bas
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ End Function
Sub ImportPythonUDFsAddIn(control As IRibbonControl)
Set wb = ActiveWorkbook
If Not ModuleIsPresent(wb, "xlwings") Then
MsgBox "This workbook must contain the xlwings VBA module."
MsgText = "Make sure that this workbook contains the xlwings module "
MsgText = MsgText & "and you are trusting access to the VBA project object module (Options)."
MsgBox MsgText, vbCritical, "Error"
Exit Sub
End If

Expand Down

0 comments on commit 36f3cc3

Please sign in to comment.