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

[µo°Ý] ªí³æÀx¦s®æ¦Û°Ê¤U©Ô§ó·s

test.rar (12.55 KB) ¦^´_ 8# li_hsien
¦btestB>>sheet1>>>[b1]¼g¤½¦¡" =counta(A:A)  "
¦btestA>>sheet1>>>[b1]¼g¤½¦¡" =]='C:\Users\Administrator\Desktop\test\[testB.xls]Sheet1'!$B$1  "       
¦bthisworkbookªºmodule¼gruxia
¦bmodule1¼gruxia               
Private Sub Workbook_Open()                       
Sheets("sheet1").Activate                       
Macro1                       
End Sub                       
                       
Sub Macro1()                       
   n = [b1]                        
    Range("A2:A" & n).FillDown                       
End Sub                       
open testB,²K¥[AÄæ¤º®e,close testB
open testA·|¦Û°Ê¥Í¦¨§A­nªº®ÄªG¤F
lmh

TOP

test.rar (12.55 KB) ¦^´_ 9# li_hsien


¦btestB>>sheet1>>>[b1]¼g¤½¦¡" =counta(A:A)  "
¦btestA>>sheet1>>>[b1]¼g¤½¦¡" =]='C:\Users\Administrator\Desktop\test\[testB.xls]Sheet1'!$B$1  "        
¦bthisworkbookªºmodule¼gruxia
¦bmodule1¼gruxia               
Private Sub Workbook_Open()                        
Sheets("sheet1").Activate                        
Macro1                        
End Sub                        
                        
Sub Macro1()                        
   n = [b1]                        
    Range("A2:A" & n).FillDown                        
End Sub                        
open testB,²K¥[AÄæ¤º®e,close testB
open testA·|¦Û°Ê¥Í¦¨§A­nªº®ÄªG¤F
lmh

TOP

test.rar (12.55 KB) ¦^´_ 1# li_hsien

¦btestB>>sheet1>>>[b1]¼g¤½¦¡" =counta(A:A)  "
¦btestA>>sheet1>>>[b1]¼g¤½¦¡" =]='C:\Users\Administrator\Desktop\test\[testB.xls]Sheet1'!$B$1  "        
¦bthisworkbookªºmodule¼g¦p¤U
¦bmodule1¼g¦p¤U         
Private Sub Workbook_Open()                        
Sheets("sheet1").Activate                        
Macro1                        
End Sub                        
                        
Sub Macro1()                        
   n = [b1]                        
    Range("A2:A" & n).FillDown                        
End Sub                        
open testB,²K¥[AÄæ¤º®e,close testB
open testA·|¦Û°Ê¥Í¦¨§A­nªº®ÄªG¤F
lmh

TOP

¤£¦n·N«ä,½×¾ÂÂà¨ìpage2,§Ú¥H¬°¨S¦³¿é¤J,©Ò¥H­«½Æµo¤F2¦¸,Sorry
lmh

TOP

        ÀR«ä¦Û¦b : ¡i¥Í©R¦b©I§l¶¡¡j¦òªû»¡¡G¡u¥Í©R¦b©I§l¶¡¡C¡v¤HµLªkºÞ¦í¦Û¤vªº¥Í©R¡A§óµLªk¾×¦í¦º´Á¡AÅý¦Û¤v¥Ã¦í¤H¶¡¡C¬JµM¥Í©R¥h¨Ó³o»òµL±`¡A§Ú­Ì§óÀ³¸Ó¦n¦n¦a·R±¤¥¦¡B§Q¥Î¥¦¡B¥R¹ê¥¦¡AÅý³oµL±`¡BÄ_¶Qªº¥Í©R¡A´²µo¥¦¯uµ½¬üªº¥ú½÷¡A¬M·Ó¥X¥Í©R¯u¥¿ªº»ù­È¡C
ªð¦^¦Cªí ¤W¤@¥DÃD