Jump to content

Recommended Posts

Posted

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?

Posted

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)

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
×
×
  • Create New...