0
  Set rng = ActiveSheet.(D4:K57)  

the following code throws "Expected: identifier or bracketed expression". What is the error here?

Community
  • 1
  • 1
user3097236
  • 37
  • 1
  • 8

1 Answers1

0
ActiveSheet.range("D4:K57")

Normally I would dim the range though,

Dim rng as range
set rng=range("D4:K57")

rng.select' or whatever you want to do with it
Davesexcel
  • 6,896
  • 2
  • 27
  • 42