Sign in to follow this  
Followers 0
jdelaney

Excel.Application workbook object to Handle

2 posts in this topic

Anyone have a quick (no process loops) way to convert the _Excel* object into it's handle?

I'm writing mutliple lines, and there are sometimes sharing violations without sleeps...much rather have loop to wait for handle to not be present.

Thanks.


IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

$hwnd = hwnd ($oExcel.hwnd())

Edited by jdelaney

IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0