Michal,
You're close. Try the following:
Dim Value As Long
Value = 2
Range("A1:A" & Value & ",C1:C" & Value).Select
--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
"Michalll" wrote in message
om...
Help me please,
I need make a multiple selection in VBA but vith variable.
My example which works:
range("A1:A2, C1:C2").select
I need something like:
value = 2
range("A1:A & value, C1:C & value").select
but it does not work, would you help me?
thanx
Michal