![](/img/trans.png)
[英]Excel VBA Search for a value in a column and copy row to new sheet for all matching values
[英]How to copy all values in first row of selection to new sheet with vba?
如果確實需要使用選擇,請嘗試以下操作:
' Copy the first row of values (not the header)
Selection.Rows.Item(2).Copy
' Paste our clipboard content into the newly formed sheet
vacationSheet.Range("A1").PasteSpecial
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.