½Ð°ÝExcel ¦@¥|Äæ¦ì¸ê®ÆÂà´«¦¨¤@Äæ¦ì¡A¨Ã¤À¬qÅã¥Ü¡A¤½¦¡n«ç»ò¤U¡H
- ©«¤l
- 455
- ¥DÃD
- 111
- ºëµØ
- 0
- ¿n¤À
- 563
- ÂI¦W
- 260
- §@·~¨t²Î
- Windows 10
- ³nÅ骩¥»
- Office 2019
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2013-11-7
- ³Ì«áµn¿ý
- 2024-12-29
|
½Ð°ÝExcel ¦@¥|Äæ¦ì¸ê®ÆÂà´«¦¨¤@Äæ¦ì¡A¨Ã¤À¬qÅã¥Ü¡A¤½¦¡n«ç»ò¤U¡H
Dear ¤j¤j,
§Ú¦bA1~A4Äõ³£¦³¸ê®Æ
§Æ±æ¯à¦bC1Äæ¤W§â¦¹¥|Ä涰¦X¦A¤@°_(¨Ãn¤À¬q)¡A¦p¤U¹Ï
½Ð°Ý¤½¦¡n«ç»ò¤U©O¡H
Thanks¡I
|
|
Just do it.
|
|
|
|
|
- ©«¤l
- 1392
- ¥DÃD
- 4
- ºëµØ
- 0
- ¿n¤À
- 1402
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN
- ³nÅ骩¥»
- 2007
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2015-9-11
- ³Ì«áµn¿ý
- 2024-12-28
|
|
google"EXCEL°g" blog ©Îgoogleºô§}:https://hcm19522.blogspot.com/
|
|
|
|
|
- ©«¤l
- 455
- ¥DÃD
- 111
- ºëµØ
- 0
- ¿n¤À
- 563
- ÂI¦W
- 260
- §@·~¨t²Î
- Windows 10
- ³nÅ骩¥»
- Office 2019
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2013-11-7
- ³Ì«áµn¿ý
- 2024-12-29
|
¦^´_ 3# hcm19522
·PÁ±zªº¦^ÂÐ§Ú¨Ó¸Õ¸Õ¬Ý |
|
Just do it.
|
|
|
|
|
- ©«¤l
- 455
- ¥DÃD
- 111
- ºëµØ
- 0
- ¿n¤À
- 563
- ÂI¦W
- 260
- §@·~¨t²Î
- Windows 10
- ³nÅ骩¥»
- Office 2019
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2013-11-7
- ³Ì«áµn¿ý
- 2024-12-29
|
¦^´_ 5# Hsieh
Hello §Ú¤w§ó§ï±zªº»yªk¡A¦¨¥\¤F
ÁÂÁ±z¡I ^_^
Function QR_Code(Target As Range, MyURL As String)
Dim MyPic As Picture
Dim pic As Picture
With ActiveSheet
For Each pic In .Pictures
If pic.TopLeftCell.Address = Target.Address Then Set MyPic = pic 'Àx¦s®æ¤º¦³±ø½X´N¥H¦¹¹Ï¤ùÅã¥Ü
Next
If MyPic Is Nothing Then 'YÀx¦s®æ¤ºµL¹Ï´N´¡¤JQR Code¹Ï¤ù
Set MyPic = .Pictures.Insert("https://chart.googleapis.com/chart?chs=100x100&cht=qr&chl=" & MyURL)
MyPic.Top = Target.Top + (Target.Height - MyPic.Height) / 2 '¹Ï¤ù««ª½¸m¤¤
MyPic.Left = Target.Left + (Target.Width - MyPic.Width) / 2 '¹Ï¤ù¤ô¥¸m¤¤
End If
Set mychart = .Shapes.AddChart '³]¸m¹Ïªíªø¼e
mychart.Height = MyPic.Height
mychart.Width = MyPic.Width
MyPic.Copy '½Æ»sQR Code
mychart.Chart.Paste '¶K¨ì¹Ïªí
mychart.Chart.Export "D:\code.jpg" '¹Ïªí¶×¥X¹ÏÀÉ
MyPic.ShapeRange.Fill.UserPicture "D:\code.jpg" '§ó´«QR Code
mychart.Delete '§R°£¹Ïªí
Kill "D:\code.jpg" '§R°£¹Ïªí¹ÏÀÉ
End With
End Function |
|
Just do it.
|
|
|
|
|