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

VBA°ÝÃD ½Ð°Ý¦p¦ó§Q¥ÎVBAÅý¸ê®Æ¨C¦¸°õ¦æ«á¦Û°Ê¶K¤W¨ì³Ì«á¤@®æ

¥»©«³Ì«á¥Ñ GBKEE ©ó 2013-11-11 17:37 ½s¿è

¦^´_ 10# jimmy121212
  1. Sub «ö¶s3_Click()
  2.     Dim Sh(1 To 4) As Worksheet
  3.     'Sheets("¬¡­¶Ã¯¤u§@ªí¦WºÙªº ¦r¦ê")   ->Sheets("OP-¥~¸ê+")
  4.     Set Sh(1) = Workbooks("c¾ä¥v¥¼¥­­Ü.xlsx").Sheets("OP-¥~¸ê+") '¥t¤@­ÓWORKBOOK
  5.     'Sheets( ¯Á¤Þ­È  [¼Æ¦r   ²Ä´X­Ó¤u§@ªí])   ¦pSheets(1)  ->"OP-¥~¸ê+"
  6.     'Set Sh(1) = Workbooks("c¾ä¥v¥¼¥­­Ü.xlsx").Sheets(1) '¥t¤@­ÓWORKBOOK
  7.     Set Sh(4) = Workbooks("bbb.xls").Sheets("Sheet3") '¸ê®ÆÀÉWORKBOOK
  8.     Sh(1).[a65536].End(xlUp).Offset(1, 0).Resize(, Sh(4).[B31:H31].Columns.Count) = Sh(4).[B31:H31].Value
  9. End Sub
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 11# GBKEE


ÁÂÁÂGBKEE¤j¤j   
¦ý²Ä¤G¦æ°»¿ù½d³ò¶W¥X¤Þ¯Á¡A¹ê¦b§ì¤£¨ìÀYºü
¥i¥H½Ð¨D±zª½±µ¼g¥X¤@­Ó¥i°õ¦æªºµ¹§Ú°Ñ¦Ò¤ñ¹ï¶Ü¡H«ô°U¤F
¥t¥~§Ú¬O­n§Ú­n±N"¥~¸ê¤Î¨ä¦ÛÀç"Àɮפ¤*¨C¤é·§ºâªí*ùتº(B37:E37)»P(B38:E38)¦Û°Ê½Æ»s¨ìÀÉ®×*¾ú¥v¥¼¥­­Üªº(E:H)»P(R:U)
mony

TOP

¦^´_ 12# jimmy121212
²Ä¤G¦æ°»¿ù½d³ò¶W¥X¤Þ¯Á : ´N¬O§ä¤£¨ì«ü©wªºWorkBooks©Î¬OSheets¦WºÙ
Àˬd¤@¤UWorkBooks("¦WºÙ")¦³¶}±Ò¶Ü?? ,Sheets("¦WºÙ")¬O³oWorkBooks("¦WºÙ")ªº¤u§@ªí¶Ü??
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 13# GBKEE


   ©êºp ¬O²Ä¤T¦æ  03 .Sheets("¬¡­¶Ã¯¤u§@ªí¦WºÙªº ¦r¦ê")   ->Sheets("OP-¥~¸ê+")
mony

TOP

¥»©«³Ì«á¥Ñ GBKEE ©ó 2013-11-13 09:30 ½s¿è

¦^´_ 14# jimmy121212
½Ð¬Ý²Ä3¦æ  ¦³³o ' ²Å¸¹VBA¤£·|°õ¦æªº,²Ä5,6¤]¦³³oµù¸Ñ(µ{¦¡¤¤ªº»¡©ú)¤å¦rªº²Å¸¹

  'Sheets("¬¡­¶Ã¯¤u§@ªí¦WºÙªº ¦r¦ê")   ->Sheets("OP-¥~¸ê+")
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 15# GBKEE


   ³á¹ï  ¬O04.    Set Sh(1) = Workbooks("c¾ä¥v¥¼¥­­Ü.xlsx").Sheets("OP-¥~¸ê+") '¥t¤@­ÓWORKBOOK
¶W¥X¤Þ¯Á
mony

TOP

¦^´_ 16# jimmy121212
   
¥i¥H½Ð¨D±zª½±µ¼g¥X¤@­Ó¥i°õ¦æªºµ¹§Ú°Ñ¦Ò¤ñ¹ï¶Ü¡H«ô°U¤F
¤£ª¾©Ò¥HµM,µ¹§AÀɮ׬O¦h¾lªº,¦h¬Ý¬Ý(VBAªº»¡©ú)·|¶i¨Bªº.
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 17# GBKEE


   ÁÂÁÂ
mony

TOP

¦^´_ 12# jimmy121212

¤º®e§ï¦¨³o¼Ë¤l¥i¥H¶Ü¡H
  1. Dim Sh(1 To 4) As Worksheet
  2.     Set Sh(1) = Workbooks("c¾ä¥v¥¼¥­­Ü.xlsx").Sheets("Á`¥¼¥­Äýªí") '
  3.     Set Sh(4) = Workbooks("a¥~¸ê¤Î¦ÛÀç-1.xlsm").Sheets("¨C¤é·§ºâªí")
  4.     Sh(1).[e65536].End(xlUp).Offset(1, 0).Resize(1, 4).Value = Sh(4).[b37:e37].Value
  5.     Sh(1).[r65536].End(xlUp).Offset(1, 0).Resize(1, 4).Value = Sh(4).[b38:e38].Value
½Æ»s¥N½X

TOP

¦^´_ 19# owen06

OWEN¤j¤j
  ·PÁ±z  ³o¼Ë§Úª¾¹D§Ú­þ¸Ì¥´¿ù¤F
mony

TOP

        ÀR«ä¦Û¦b : ºÉ¦h¤Ö¥»¥÷¡A´N±o¦h¤Ö¥»¨Æ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD