ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

½Æ»s¶K¤W¹Ï¤ùªº¿ù»~°T®§???

½Æ»s¶K¤W¹Ï¤ùªº¿ù»~°T®§???

¥»©«³Ì«á¥Ñ color790 ©ó 2024-1-11 14:59 ½s¿è

¬°¤°»ò¦³®É­Ô°õ¦æ¥H¤U2¦æ·|¥X²{¤U­±ªº¿ù»~°T®§, ¦³®É­Ô¤£·|, ¥t¥~½Ð°Ý¦³¨ä¥L¤è¦¡¥iª½±µ¥Hxy®y¼Ð¤è¦¡¶K¨ì«ü©w¦ì¸m¶Ü?(¹³´¡¤J¤å¦r¤è¶ô«ü©wxy¦ì¸m)
Sub test()
Worksheets("¤u§@ªí1").Range(Worksheets("¤u§@ªí1").Cells(1, 1), Worksheets("¤u§@ªí1").Cells(2, 12)).Copy
Worksheets("¤u§@ªí2").Pictures.Paste
End Sub


---------------------------
Microsoft Visual Basic for Applications
---------------------------
°õ¦æ¶¥¬q¿ù»~ '1004':

À³¥Îµ{¦¡©Îª«¥ó©w¸q¤Wªº¿ù»~
---------------------------
½T©w   »¡©ú   
---------------------------
ªì¾ÇªÌcolor

¦^´_ 1# color790


    ¶K§¹«á­±¥[
application.wait now+timevalue("00:00:01")

TOP

¦^´_ 2# singo1232001


    ÁÂÁ«e½ú,½Ð±Ð«e½ú³oºI¹Ï¶K¤W¸ò®É¶¡¦³¤°»òÃö«Y?
¥Î¦æ°Ê¸Ë¸mÂsÄý½×¾Â¾Ç²ß«Ü¤è«K,ÁÂÁ½׾¸gÀç¹Î¶¤
½Ð¤j®a¤@°_¤W½×¾Â¨Ó¥æ¬y

TOP

¦^´_ 1# color790

¨Ò¦p¶K¨ìA1:C3
set Àx¦s®æ½d³ò = range("a1:c3")
sheets("¤u§@ªí").Shapes.AddPicture §¹¾ã¹Ï¤ù¸ô®|, False, True, Àx¦s®æ½d³ò.Left, Àx¦s®æ½d³ò.Top, Àx¦s®æ½d³ò.Width, Àx¦s®æ½d³ò.Height


¥t¥~¸É¥R
­Y¥Î®Ø½u®Ø¿ïªº½d³ò
¥i¥Îif §PÂ_
rng.Borders(xlEdgeLeft).LineStyle=1
rng.Borders(xlEdgeTop).LineStyle=1
rng.Borders(xlEdgeRight).LineStyle=1
rng.Borders(xlEdgeBottom).LineStyle=1
·f°t°j°é»Poffset §ä¥X®Ø½uªº¥ª¤W¥k¤U
·f°t©ñ¹Ïªº¥ª,¤W,¼e,ªø (¥Î´îªk¨D¼eªø)
®Ø½u¦h¤j ¹Ï´N¯à¦Û¾AÀ³  ¤£»Ý­n¦X¨ÖÀx¦s®æ


Ãö©ó¥Îwait ¤]¤£¤@©w¦³®Ä  ¥i¨Ì¾Ú¹q¸£®Ä¯à½Õ¾ãµ¥«Ý®Éªø
©Î³\©ñ¹Ï¤ù¬O²§¨B³B²z ©ÎªÌ µ¥«Ý¥ô°È°ï¨Ó¤£¤Î¸ò¤W ³y¦¨VB³æ½uµ{¥d¦í
·íµM¤]¤£±Æ°£ ¬O§_ÁÙ¦³¨ä¥L¤pbug

TOP

¦^´_ 2# singo1232001


    ¨S·Q¨ì®Ä¯à¤]·|¦³¼vÅT, ·PÁ±zªº±j¤O¤ä´© :)
ªì¾ÇªÌcolor

TOP

¦^´_ 4# singo1232001


    ÁÂÁ«e½ú«ü¾É
«á¾Ç¾Ç²ß¤è®×¦p¤U,½Ð«e½ú¦A«ü¾É
¸ê®Æªí:


µ²ªGªí:


Option Explicit
Sub test()
Dim xR As Range
Set xR = [¤u§@ªí2!B2]: Application.Goto xR
With Sheets("¤u§@ªí1"): Range(.[A1], .Cells(2, 12)).CopyPicture: End With
Sheets("¤u§@ªí2").Paste: xR.Activate: Application.Wait Now + TimeValue("00:00:01")
End Sub
¥Î¦æ°Ê¸Ë¸mÂsÄý½×¾Â¾Ç²ß«Ü¤è«K,ÁÂÁ½׾¸gÀç¹Î¶¤
½Ð¤j®a¤@°_¤W½×¾Â¨Ó¥æ¬y

TOP

        ÀR«ä¦Û¦b : ½_ÁJµ²±o¶V¹¡º¡¡A¶V·|©¹¤U««¡A¤@­Ó¤H¶V¦³¦¨´N¡A´N­n¶V¦³Á¾¨Rªº¯ÝÃÌ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD