当前位置:网站首页>Using VBA interval to extract one column from another in Excel
Using VBA interval to extract one column from another in Excel
2022-04-23 03:38:00 【Blue area soldier】
Sub d()
Dim i As Long
Dim r As Long
i = 2
r = 2
Do While r <= Sheet2.Rows.Count
'Range("K1").EntireColumn.Cells(i, 1).Value = Range("F2").EntireColumn.Cells(r, 1).Value
Range("L1").EntireColumn.Cells(i, 1).Value = r - 1
Range("M1").EntireColumn.Cells(i, 1).Value = Range("H2").EntireColumn.Cells(r, 1).Value
i = i + 1
r = r + 25
Loop
End Sub
版权声明
本文为[Blue area soldier]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204220602025230.html
边栏推荐
- PYMOL-note
- Instructions for fastmock
- Design and implementation of redis (2): how to handle expired keys
- Section 2 map and structure in Chapter 6
- Development record of primary sensitive word detection
- 对象和类的概念
- Seekbar custom style details
- ROS series (4): ROS communication mechanism series (4): topic communication practice
- L3-011 direct attack Huanglong (30 points)
- vscode删除卸载残余
猜你喜欢
Code forces round # 784 (DIV. 4) solution (First AK CF (XD)
2022 团体程序设计天梯赛 模拟赛 L2-1 盲盒包装流水线 (25 分)
Notes sur l'apprentissage profond (Ⅱ) - - Principe et mise en oeuvre de la fonction d'activation
Visual programming - drawing assignment
Database SQL -- simulate inserting a large amount of data, importing / exporting database scripts, timestamp conversion and database basics
ROS series (I): rapid installation of ROS
Opencv4 QR code recognition test
The art of concurrent programming (6): explain the principle of reentrantlock in detail
Unity knowledge points (ugui)
常用的辅助类
随机推荐
51 single chip microcomputer: D / a digital to analog conversion experiment
SQL topic exercise summary
SQL learning record
Source code and update details of new instance segmentation network panet (path aggregation network for instance segmentation)
2022 团体程序设计天梯赛 模拟赛 L2-4 哲哲打游戏 (25 分)
Deep learning notes (II) -- principle and implementation of activation function
Codeforces Round #784 (Div. 4)題解 (第一次AK cf (XD
7-2 Tushare
Variables, constants, operators
将编译安装的mysql加入PATH环境变量
Learn about I / O flow and file operations
浅学一下I/O流和File类文件操作
PyMOL usage
Install PaddlePaddle on ARM
7-3 poly width
Redis (17) -- redis cache related problem solving
Three types of jump statements
ROS series (4): ROS communication mechanism series (4): topic communication practice
Vs Studio modifie le langage C scanf et d'autres erreurs
Openvino only supports Intel CPUs of generation 6 and above