D
D
Diana Stoyka2021-03-09 12:14:41
Visual Basic
Diana Stoyka, 2021-03-09 12:14:41

How to make a chess markup?

It is necessary that the horizontal line be A-H
and the vertical line 1-8.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
idShura, 2021-03-09
@Dianka05

Sub MM1()
For c = 1 To 8
    For r = 1 To 8
        Cells(1, 1).Offset(r - 1, c - 1).Interior.ColorIndex = (r + c) Mod 2 + 1
    Next r
    Cells(1, 1).Offset(0, c - 1).ColumnWidth = 2.5
Next c
End Sub

604740ebbb837795854926.gif

L
Lander, 2017-12-28
@leni_m

usort($array, function($a, $b) { 
    return $a['time'] > $b['time']; 
});

A
Andrew, 2017-12-28
@AndrewHaze

Sorting arrays

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question