¡@¼ÊºÙ: ÀH·ÄÆ¿ºªº¦Ð¤ò ¡@ÀY»Î: [±s¥Î]¼ç¤ô¸¥
°ª¤¤¥Í
- ©«¤l
- 852
- ¥DÃD
- 79
- ºëµØ
- 0
- ¿n¤À
- 918
- ÂI¦W
- 0
- §@·~¨t²Î
- Windows 7 , XP
- ³nÅ骩¥»
- Office 2007, Office 2003,Office 2010,YoZo Office
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¦t©z
- µù¥U®É¶¡
- 2011-4-8
- ³Ì«áµn¿ý
- 2024-2-21
|
[µo°Ý] è§Ë¦nªºµ{¦¡ ½Ð°Ý¯à§_²¤Æ
°Ñ¦Ò ½×¾Â¤ºªº¤@¨Ç±Ð¾Ç¤å ©Ò§Ë¥Xªº
¥u¬O ¹Ï¤ùÀɮצh¹F¤W¤dµ§ ¦pªG¥Î³oÓ¤èªk ·|ºÆ±¼
½Ð°Ý¦³¤H¯àÀ°§Ú²¤Æ¶Ü?
ªì©l±ø¥ó
sheet1 ¦WºÙ¬° data_picture
Äæ¦ì a2 ~ a7¬° §Ç¦C¸¹ (1~6)
Äæ¦ì b2 ~ b7 ¬°¤H¦W
Äæ¦ì e1 ~ h6 ¬°¹Ï¤ùÅã¥Ü°Ï°ì
Private Sub ComboBox1_Change()
If ComboBox1.Value = 1 Then
Image1.Picture = LoadPicture("C:\aaa\-01.jpg")
End If
Dim u As Range
Set u = Worksheets("data_picture").Range("e1")
If ComboBox1.Text = 1 Then
Call ActiveSheet.Shapes.AddPicture("C:\aaa\-01.JPG", msoFalse, msoTrue, u.Left, u.Top, 200, 200)
Else
If ComboBox1.Text = 2 Then
Call ActiveSheet.Shapes.AddPicture("C:\aaa\-02.JPG", msoFalse, msoTrue, u.Left, u.Top, 200, 200)
End If
End If
End Sub |
|