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

Ãö©ó excel ¹Ï¤ù¬ÛÃö°ÝÃD

Ãö©ó excel ¹Ï¤ù¬ÛÃö°ÝÃD

­è­è¬Ý¤F http://forum.twbts.com/viewthread.php?tid=2637 ªO¤jªºµ{¦¡½X
ÁÙ¬O«Ü¦h¤£À´...

¥H¤U´£¥XºÃ°ÝÂI ·Ð½Ð°ª¤â «ü¾É .
1.¦pªG·Q­n ÂI¤å¦rªº¶W³sµ² ·|¥X²{¤@­ÓÃB¥~¬ÛÃö¹Ï¤ù(¦bªí³æ¤º ¦p¤U¦Cµ{¦¡½X³Ì¤U¤è) ¸Ó¦p¦ó½s¼g
2.¦pªG·Q­n¥Î±±¨î¶s (optionbutton) ¥h°µ¬D¿ï¨Ã¥BÅã¥Ü©óimage¤è¶ô¤º(¹Ï¤ù¤j¤p²Å¦X¸Ó¤è¶ô) ¤S¸Ó¦p¦ó½s¼g
3.°²¨Ï¸Ó¹ÏÀɮ榡¬°³sÄò (¦p 001 002 003) ­n¦p¦ó±N¨ä¦Û°Ê½s¤JÅã¥Ü
¤£¦n·N«ä ¤p§Ì·s¤â­è±µÄ²«Ü¦h¤£À´ ½Ð¦h¥]²[

¥H¤U¬°¤p§Ìªº µ{¦¡½X
Sub Macro1()
'
' Macro1 Macro
'
' §Ö³tÁä: Ctrl+b
'
    Range("a1").Select
    ActiveSheet.Hyperlinks.Add anchor:=Selection, Address:= _
        "c:=\aaa\001-01.JPG" _
        , TextToDisplay:="001-01.jpg"
        
    Range("b1").Select
          ActiveSheet.Hyperlinks.Add anchor:=Selection, Address:= _
        "c:=\aaa\001-02.JPG" _
        , TextToDisplay:="001-02.jpg"
        
     Range("c1").Select
            ActiveSheet.Hyperlinks.Add anchor:=Selection, Address:= _
        "c:=\aaa\001-03.JPG" _
        , TextToDisplay:="001-03.jpg"
        
      Range("D1").Select
            ActiveSheet.Hyperlinks.Add anchor:=Selection, Address:= _
        "c:=\aaa\001-04.JPG" _
        , TextToDisplay:="001-04.jpg"


    With Worksheets("Sheet1").Range("B2:C4")
   .Value = "001-0"
     Val (a)

     End With

  Dim R As Range
  Set R = ActiveSheet.Range("a10")
  Call ActiveSheet.Shapes.AddPicture("c:=\aaa\001-01.JPG", msoFalse, msoTrue, R.Left, R.Top, 200, 200)

  Dim u As Range
  Set u = Worksheets("sheet1").Range("c10")
  Call ActiveSheet.Shapes.AddPicture("c:=\aaa\001-01.JPG", msoFalse, msoTrue, u.Left, u.Top, 200, 200)

  End If

        ÀR«ä¦Û¦b : ªY½à§O¤H´N¬O²øÄY¦Û¤v¡C
ªð¦^¦Cªí ¤W¤@¥DÃD