Jump to content
Sign in to follow this  

Newbie...What is wrong with this excel string?

Recommended Posts

Hi All

Just starting to Au3 and cant get over the bug in this line

$oExcel.activesheet.Range("B2:G2", $oExcel.activesheet.Selection.End(xlDown)).Select

Of course 'xldown' needs to come from somewhere but I cant find a simple explanation; please forgive my newbyness!

As illustrated, I simply want to select from the first part down to the end of the data.

Thanks in advance for any help



PS Of course I have established the object etc so everything works when I use;


Its just that I want to understand how the selection end works from auit.

Edited by ImageEngine

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...