發表文章

目前顯示的是 11月, 2021的文章

楊閺霖VBA雙迴圈Loop與JavaScript迴圈

圖片
VBA繪圖 VBA繪圖程式碼 '拷貝自https://excelatfinance.com/xlf19/xlf-... 'Dr Ian O'Connor, CPA. - located in Victoria, Australia. Option Explicit Const topleft As String = "C5" ' anchor cell Const diam As Integer = 100 ' points Dim Shp As Shape '全域變數global variables 每一個副程式都可以用 Sub 楊閺霖() Dim TLCleft As Double '區域local variables只能用在這裡 Dim TLCtop As Double Dim i As Integer For i = 1 To 30 TLCleft = 20 * i TLCtop = 20 * i Set Shp = ActiveSheet.Shapes.AddShape(Type:=msoShapeOval, _ Left:=TLCleft, Top:=TLCtop, _ Width:=diam, Height:=diam) With Shp .Fill.Visible = msoFalse .Line.Weight = 10 .Line.ForeColor.Brightness = 0.4 .ThreeD.BevelTopType = msoBevelCircle End With Next With Cells(1, 1) '物件.字物件 屬性 方法 .Value = "楊閺霖" ...

楊閺霖EXCEL VBA雙迴圈JavaScrip迴圈

圖片
輸出 EXCEL迴圈 JavaScrip迴圈 <script> function year()   { var tmp ="<font size=5 color=#0000FF>"; //輸出HTML指令preserve格式    for (var i=0 ; i<= 10; i++)    {  tmp = tmp + (i+2010) +"年<br/>"    }    tmp = tmp + "</font>"    document.getElementById("out").innerHTML = tmp;   } </script> <body> <input onclick="year()" type="button" value="劉任昌年" /> <p id="out">輸出</p>   </body> 網頁顏色

楊閺霖EXCEL基本功能+VBA程式設計

圖片
11月 14, 2021 EXCEL基本功能 107影片 108影片 preserve 保留以下EXCEL VBA模組畫面 Public Sub 金一丙() Cells(1, 1).Value = "大帥哥楊閺霖" End Sub Public Sub 楊閺霖迴圈() For j = 1 To 20 Cells(j, 6).Value = j * j Next End Sub