Jump to content
Sign in to follow this  
Killer

cell check in excel

Recommended Posts

Killer

Can anyone help me how to create a script to check for the address of a cell in excel example how to know if the cell is A14 or J80?

Share this post


Link to post
Share on other sites
GioVit

Try this:

$Application = ObjCreate("Excel.Application")
; open the workbook etc, etc

;Get the Active Cell Address
$Address = $Application.ActiveCell.Address()
MsgBox(64,"Info", "Current Address = " & $Address)

Share this post


Link to post
Share on other sites
Killer

Thanks for the info. I will try it.

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.