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
Post a Comment