Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Using macros, this problem could be solved something like this:
Sub myMacro()
Dim sheet As Worksheet
Set sheet = ActiveWorkbook.ActiveSheet
If sheet.Cells(1, ActiveCell.column).Value = "ціна" Then
sheet.Cells(ActiveCell.Row + 1, ActiveCell.column - 1).Activate
End If
End Sub
Private Sub Workbook_BeforeClose(Cancel As Boolean)
Application.OnKey "{ENTER}"
End Sub
Private Sub Workbook_Open()
Application.OnKey "{ENTER}", "myMacro"
End Sub
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question