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

[µo°Ý] ¨Ï¥ÎVBA¦Û­q½d³ò¸ê®ÆÅçÃÒ¥¢±Ñ

¥»©«³Ì«á¥Ñ HUNGCHILIN ©ó 2015-3-7 23:54 ½s¿è

¦^´_ 10# PKKO
ªü¦N´ú¸Õ®É§âµ{¦¡¶K¦b¡ASheets("Âà´«ªí") ªº¤u§@ªíµ{¦¡区内¡A¬Gª½±µ¥ÎMe¡A´N¥i¥H¤F¡A
¦pªGµ{¦¡©ñ¦b ¼Ò²Õ1 内¡A´N¤@©w­n«ü©w¡Awith Sheets("Âà´«ªí")¡A
§Ú³q±`¸û¤Ö¥Î Sheets("Âà´«ªí")ªº¼gªk¡A¦]¬°§ïSheet¦WºÙµ{¦¡´N·|³ø¿ù»~´£¥Ü¡C
¦³®É¥ÎSheet1¡ASheet2¼gªk¸û¨Î¡C

TOP

¥»©«³Ì«á¥Ñ PKKO ©ó 2015-3-8 01:32 ½s¿è

·PÁª©¥D¤j¤j,­ì¨Ó¦p¦¹!

¦ý·Q°Ý¤@¤U,­Y¬O¤w¸g©ñ¦b¸ÓSHEET¤ºªºµ{¦¡½X

¤£´N¥i¥Hª½±µ¨Ï¥Îex: CELLS(1,1),¤£»Ý­nWITH

ÁÙ¬O»¡³z¹LWITH ¸Ì­±[ . ªºµ{¦¡½X]°õ¦æ³t«×·|¤ñ¸û§Ö?
PKKO

TOP

¦^´_ 12# PKKO
¤£¬O³t«×§Ö,¥i«ü©w³oª«¥óªºÄÝ©Ê,¤lª«¥ó
  1. With Cells(1, 1)
  2.         .Value = 555
  3.         .Interior.Color = vbRed
  4.         With .Font
  5.             .Bold = True
  6.             .ColorIndex = xlAutomatic
  7.         End With
  8.    End With
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 13# GBKEE


    ®¦®¦,·PÁÂ!

   ¦ý­Y¬O¤w¸g©ñ¦b¸ÓSHEET¤ºÀ³¸Ó´N¥i¥Hª½±µ¥Î Rows(1).Find("©Ò¦³³æ¦ì", Lookat:=xlWhole).Column '¥N¸¹ªºColumn

¦Ó¤£¥Î¨Ï¥Î¥H¤Uªº¼gªk
WITH ME
   .Rows(1).Find("©Ò¦³³æ¦ì", Lookat:=xlWhole).Column '¥N¸¹ªºColumn
END WITH

·íµMª©¥D¤j¤j¬O¦]¬°ª½±µ­×§ï§Úªºµ{¦¡½X·|¤ñ¸û§Ö,¦ý°£¦¹¤§¥~
¦pªG¬O¦Û¤v¼¶¼gµ{¦¡½Xªº¸Ü,WITH ME¦]¸Ó¬O¨S¦³¦s¦bªº¥²­n?(°²³]¤w¸g±Nµ{¦¡½X©ñ¸m¦b¸ÓSHEET¤ºªº¸Ü)
ÁÙ¬O¦³¨ä¥Lªº¥Îªk?
PKKO

TOP

¥»©«³Ì«á¥Ñ HUNGCHILIN ©ó 2015-3-9 00:24 ½s¿è

¥u¬O³æ¯Âªº´ú¸Õµ{¦¡¡A¨S§Oªº
²¤Æµ{¦¡¡A«Ü¦nªº·Qªk

TOP

¦^´_ 14# PKKO


   
WITH ME¦]¸Ó¬O¨S¦³¦s¦bªº¥²­n?(°²³]¤w¸g±Nµ{¦¡½X©ñ¸m¦b¸ÓSHEET¤ºªº¸Ü)
¤]¤£¬O¦p¦¹ªº»¡ªk,¥i²¤Æµ{¦¡½Xªºkey in .

¦p¹Ï ¤u¨ã->¿ï¶µ ªº¤Ä¿ï
¦p¹ïvbaªº»yªk¤£¼ô,¤]¥i¥[§Öµ{¦¡½Xªº½s¼g,¼ô±x.


·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 16# GBKEE


   ¶â¶â¶â!§Ú¤F¸Ñ¤F,½T¹ê¤]¥i¥H¥[§Ö¼¶¼gµ{¦¡½Xªº³t«×,ÁÂÁ®@!!
PKKO

TOP

        ÀR«ä¦Û¦b : ¤â¤ß¦V¤U¬O§U¤H¡A¤â¤ß¦V¤W¬O¨D¤H¡F§U¤H§Ö¼Ö¡A¨D¤Hµh­W¡C
ªð¦^¦Cªí ¤W¤@¥DÃD