vba - Excel 复制、粘贴、转置以下循环,直到

标签 vba excel loops

我是 VBA 的初学者,找不到或拼凑代码来做我想做的事。看起来应该很简单,我现在对 VBA 太不熟悉了,我遇到了麻烦。

here is what I am trying to do in a loop until row 1 is empty





Here is an image of what I have so far





我知道我可以删除之后的行
“假,转置:=真”

在第 1 行为空之前,我不确定如何添加循环或执行操作,并继续将转置的粘贴向下移动。

提前致谢!

最佳答案

这段代码:

enter image description here

变成这样:

enter image description here

进入这个:

enter image description here

关于vba - Excel 复制、粘贴、转置以下循环,直到,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45152893/

相关文章:

Python Excel 运行宏到 xlsx 文件

excel - 如何使用 VBA 读取 Excel 工作表上下拉列表的值

arrays - 防止重新计算命名范围中使用的用户定义函数

python 字符串插值与另一种方法

arrays - Excel VBA将多个组合框值传递给动态数组

excel - 循环遍历范围内的每个工作簿

JavaScript 继续标签范围

PHP - 使用 Ajax 刷新 While 循环数据

vba - Excel VBA宏代码不停地插入无限行

excel - "Run-time error ' 1004 ' Cannot edit a macro on a hidden workbook. Unhide the workbook using the Unhide command"在功能区 XML 中使用 "onLoad"时