½Ð±Ð¤@¨Ç Ãö©ó ¯x°}«ü©w ¬ÛÃö°ÝÃD
¡@¼ÊºÙ: À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
|
½Ð±Ð¤@¨Ç Ãö©ó ¯x°}«ü©w ¬ÛÃö°ÝÃD
Q1 Y·Q±N¤U¦Cµ{¦¡ §ï¬° Åã¥ÜLABEL ªºNAME À³¸Ón«çקï¤ñ¸û§´·í ( Userform1 ¤º¦³ LABEL 1~10)
Q2 ¯x°} ªí¥Ü Label ·Q½Ð°ÝQ2 code µ{¦¡½Xn«çקï?
Q1 code- Dim st As Range
- For pgx = 1 To 10
-
- Set s1t = ¤u§@ªí1.Cells(pgx, 1)
- s1t.Value = pgx
-
- Set s2t = ¤u§@ªí1.Cells(1, pgx)
- s2t.Value = s1t.Value
- Set s3t = ¤u§@ªí1.Cells(s1t, s2t)
- s3t.Value = s1t.Value
-
- Cells(s1t, s2t).Select
- Selection.ColumnWidth = 5
- Selection.RowHeight = 25
- Next pgx
½Æ»s¥N½X Q2 code
for i = 1 to 10
i = label & i .caption
cells(i,1)=label & i
next i |
|
¦h°µ¦h·Q¦h¾Ç²ß¡A¤Ö¬Ý¤Ö¿ù¤Ö°g³~
¦h°µ=¦h¦h½m²ß¡A¦h¦h½s¼g¡C
¦h·Q=·Q·Q¬°¤°»ò¤H®aµ{¦¡n¨º¼Ë¼g¡A¦pªG´«¦¨¦Û¤v¡A¤S·|«ç¼g¡C
¦h¾Ç²ß=¾Ç²ß¤H®aªºµo°Ý¨Ã¸Ñµª¡A¾Ç²ß¤H®aªº¼gªk
¤Ö¬Ý=¥u¬Ý¤£°µ¤]ªPµM
|
|
|
|
|