xlwings:How to acrire the value of the cell and to indicate message box
<p>I'm using xlwings on a Windows.
I acquire the value of the cell and want to indicate message box.</p>

<pre><code>import xlwings as xw
import win32ui

def msg_box():
    wb = xw.Book.caller()
    win32ui.MessageBox(xw.sheets[0].range(4, 1).value,"MesseageBox")
</code></pre>

<p>However, Python stops.Could you tell me the way of worked.Thank you.</p>

<p>On Windows, something like this should work as a workaround:</p>

<pre><code>import xlwings as xw
import win32api

def msg_box():
    wb = xw.Book.caller()
    win32api.MessageBox(wb.app.hwnd, "YourMessage")
</code></pre>

python winapi messagebox xlwings