我想讀取一個html跨度的值。 我該怎麼做? 這裏是代碼: //this works
spanRight= document.getElementsByClassName("spanRight")
//but i cant get the text
spanRight = spanRight.text; <span class="spanRight">1234567890<
我試圖從一個數據文件(sh1作爲工作表)複製到另一個(作爲工作表)作爲單元格的範圍。單元格應粘貼在現有數據下。由於要複製的單元格數量和現有數據量有所不同。我創造了這個代碼: Dim sh1 As Worksheet, sho As Worksheet, lr As Long, rng1 As Range
lr = sh1.Cells(Rows.Count, 1).End(xlUp).Ro