:
>> On 4/1/08 8:53 PM, in article (e-mail address removed)9absDaxw,
>> "(e-mail address removed)" wrote:
>>
>> > Version: 2008
>> > Operating System: Mac OS X 10.5 (Leopard)
>> > Processor: intel
>> >
>> > Hi all,
>> >
>> > I have this macro on 2004 to start again 2 rows down.
>> > ===================================
>> >
>> > Option Explicit
>> >
>> > Private Sub Worksheet_SelectionChange(ByVal Target As Range)
>> >
>> > Application.EnableEvents = False
>> > If Target.Column = 14 Then 'Column N
>> > Cells(Target.Row + 2, "A").Select
>> > End If
>> > Application.EnableEvents = True
>> >
>> > End Sub
>> > ========================================
>> > I am an ex-windows and would like to know if there is a script to
>> accomplish
>> > this?
>> >
>> > Also : where would I put the script?
>> >
>> > Thanks in advance for any help!
>> >
>> > Emilio
>> This is an event driven macro which is difficult (if not impossible) to
>> implement in applescript. In VBA, this macro runs when ever the selected
>> cell changes. Even clicking on a cell when data is not entered. What are
>> you trying to accomplish?
>>
>> If you simply want the active cell to change to 2 rows down in column A when
>> data is entered in column N, you can accomplish this with an XLM macro. Add
>> a macro sheet by pressing Ctrl-F11. Then in A1 & A2 enter:
>> =on.entry(,"r1c2")
>> =return()
>> Beginning in cell B1 of the macro sheet, enter the following:
>>
>> =COLUMN(SELECTION())
>> =ROW(SELECTION())
>> =IF(B1=14,,RETURN())
>> =SELECT("r"&B2+1&"c1")
>> =RETURN()
>>
>> Then, with A1 selected on the macro sheet, go to tools, macro Run.
>> Now, when you switch back to the worksheet, it will automatically select A1
>> 2 rows down when data is entered into a cell in column N.
>>
>> To get this to start automatically when the worksheet is opened, define a
>> name "Aut
pen" and have it refer to Macro1!a1.
>>
>>
>>
>>
>> --
>> Bob Greenblatt [MVP], Macintosh
>> bobgreenblattATmsnDOTcom
>>
>>
> Thanks for your help
> I followed the instructions but I can't get it to work.
> What I want is as I enter data when I reach column 14 to jump down 2 rows and
> start again on 1st column.
>
> Thanks again
Did you select A1 on the macro sheet and then go to tools macro run? Then
switch back to the works sheet and it should work fine.