Предмет: Информатика, автор: uNSeeN13

VВA.В диапазоне ячеек A1: A20 находятся 20 чисел. Составьте программу, которая копирует данные числа в колону B (клетки от B1 до B20) следующим образом:
- Числа из ячейки A1 скопировать в ячейку B1;
- Числа из ячейки A20 скопировать в ячейку B2;
- Числа из ячейки A2 скопировать в ячейку B3;
- Числа из ячейки A19 скопировать в ячейку B4;
- Числа из ячейки A3 скопировать в ячейку B5;
- Числа из ячейки A18 скопировать в ячейку B6;
и так далее (в начале надо скопировать первое число, потом последнее, потом второе число, потом предпоследние, потом третье и тд.).

Ответы

Автор ответа: v1248
0
Sub pp()n1 = 1k1 = 20n2 = 1DoCells(n2, 2) = Cells(n1, 1)n2 = n2 + 1Cells(n2, 2) = Cells(k1, 1)n2 = n2 + 1k1 = k1 - 1n1 = n1 + 1Loop Until n1 > 10End Sub
Приложения:
Автор ответа: uNSeeN13
0
И реально ли сделать это всё без кнопки? Если нет то как вы её добавили в Execel? В коде я её не вижу.
Похожие вопросы
Предмет: Алгебра, автор: SRzhansaya
Предмет: Английский язык, автор: sezimadaniarova
Поставьте глаголы в скобках в Present Perfect.

He _____ (finish) training.
She _____ (score) twenty points in the match.
We _____ (watch) all the Champions League matches this season.
That's amazing! She _____ (run) fifteen kilometers this morning!
She _____ (buy) some really nice rollerblades!
Oh, no! I _____ (lose) my money!
My mum _____ (write) shopping list. It's on the kitchen table.
Dad, you _____ (eat) my biscuit!
I’m tired. I _____ (watch) three X-Files videos.
Hurry up! They _____ (start) the film!
Mary _____ (study) hard this year, so she'll pass her exams.
Oh no! She _____ (drop) the plate!
The garden is very green. It _____ (rain) a lot this month.
These are my favourite trousers. I _____ (have) them for five years.
Tom's my best friend. I _____ (know) him for three years.
They _____ (live) in Miami for two years.
Jo has earache. He _____ (have) it since 7 o'clock.
Brad _____ (live) in Chicago since 1998.

Отрицательные предложения в Present Perfect. Упражнение 2. Поставьте глаголы в скобках в Present Perfect negative.

I _____ (not clean) my football boots.
They _____ (not start) their meal.
I _____ (not do) my homework.
He _____ (not win) all his matches this year.
My brother and I _____ (not see) any films this week.
It's my birthday party today. I _____ (not invite) many people.
He _____ (not wash) his hands. They're very dirty.
Mum's really angry. We _____ (not tidy) our room!
I can't play with my friends this evening. I _____ (not finish) my homework.
I _____ (not visit) New York for three years.
Where's Alison? We _____ (not see) her since yesterday.
Dad _____ (not take) a holiday since last August.
John _____ (not play) the violin since he was at school