autohotkey - Assisting with COM; selecting 2 variable cellranges in excel -


im having trouble selecting variable cellranges in excel ahk

i tried:

nr = 10

x0.range("a"nr:"b"nr).select

but isnt working

can tell me right solution this?

hmm.. @ glance, looks not linking variables , strings right. have use . (space dot space) join strings , variables in mode using.

x0.range("a"nr:"b"nr).select 

i'm not sure how com works excel, this:

xo.range("a" . nr . ":b" . nr). select 

or this:

thisrange = a%nr%:b%nr% xo.range(thisrange).select 

Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -