Macro query - TechRepublic
Question
September 4, 2008 at 06:53 AM
eddie.rodgers

Macro query

by eddie.rodgers . Updated 17 years, 10 months ago

All

I am trying to get a macro to input “Yes” against a variable cell.

The “Yes” will always be in Column AJ, but the row changes (as users input data).

The macro i have is:

Range(“A5”).Select
Selection.End(xlDown).Select
ActiveCell.Offset(0, 30).Range(A5).Select “Yes”
Range(“A5”).Select

However, this does not work. I am new to macros, so would appreciate any pointers in what i am doing wrong.

Thanks

This discussion is locked

All Comments