Selecting a range in code

G

Guest

Here is a line of code I'm having problems with:

Sub SingleDoor(SCell as Integer)
Range("A" & SCell + 5 ":C" & SCell + 10)

I know it is my syntax that is wrong. Can anyone help? I would like to
select the range of cell from A5:C10 if SCell is passed as 1.
 
F

Frank Kabel

:)
last efforts before quiting working for today :)

He was really tricky also a missing apersand...)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top