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

[Âà¶K] VBAªº¼g§@§Þ¥©»P¼W¶i®Ä¯à

¹ï·s¤âªº§Ú¨ü¯q¨}¦h,·PÁ¤À¨É,ÁÂÁÂ

TOP

VBAªº¼g§@§Þ¥©»P¼W¶i®Ä¯à

¸g¥Ñ¿ý»s²£¥Íªº¥¨¶°¡A³q±`µ{¦¡½X³£·|§t¦³«Ü¦h Select¡A¬Æ¦Ü©¹«á¦Û¤v¼gªºµ{¦¡¤] ...
Hsieh µoªí©ó 2010-4-30 23:06



    Ú»§¹ª©¥DªºÁ¿¸Ñ´Nµoı§Ú°µªº¥¨¶°¯uªº¦³«Ü¦hselect, selectionµ¥¦r²´¡A¦]¬°¤@¶}©l®É´N¬O§Q¥Î¿ý¨î¥¨¶°ªº¤èªk¦Ó¤£Â_増¥[³]³Æ
    ¦pªG¦³ Worksheets("Sheet1").PageSetup.PrintArea = "$A$1:$C$60" ¨º Range("A1:C60").Select ¬O¦h¾lªº?

TOP

¥»©«³Ì«á¥Ñ blue2263 ©ó 2014-4-12 04:43 ½s¿è

½Ð±Ðª©¥D
±N(a¤u§@ªí)½d³ò¸ê®Æ,¶K¨ì(a¤u§@ªí)¨ä¥¦¦ì¸m,§Ú¥Î¤U¦Cµ{¦¡½X,¬O¥i¦æªº,¦ý¦pªG­n±N(a¤u§@ªí)½d³ò­È,¶K¨ì(b¤u§@ªí)½d³ò,µ{¦¡½XÀ³­n¦p¦ó§ï

Range(Cells(2, yÄæ - xÄæ¼Æ), Cells(z¦C, yÄæ)) = Range(Cells(2, yÄæ - xÄæ¼Æ), Cells(z¦C, yÄæ)).Value

TOP

¬Ý¨ì¶}ÀY´Nª¾¹D¤@©w­n±À¤F!!
say

TOP

¦^´_ 1# Hsieh
©Ò¥H¼Ó¥Dªº«Øij¬O¼gVBA®É¾¨¶q¬O¥ÎºVªº¡A¦Ó¤£¬O¥Î¿ý»sªº¶Ü¡H¦ý¹ï¹³§Ú³oºØ·s¤â¦Ó¨¥¡A¦³«Ü¦h»yªk¦pªG¤£¥Î¿ý»s´NµLªk¼g¥X

TOP

°£«Dµ{¦¡´N¬O­n¨Ì¨Ï¥ÎªÌ¿ï¨úªºª«¥ó¨Ó°µ°Ê§@¡A§_«h Select ©M Selection ³£¬O¦h¾lªº.«D±`¦P·N¡C
¤§«e¥u·|§Q¥Î¿ý»s¥¨¶°¡A©Ò¥H¥H¬°³£¬O³o¼Ë°µ¡A¬Ý¹L½×¾Â²zªº¤@¨Ç°ª¤â¤j¤jªº¨Ò¤l¤~ª¾¹D¤£»Ý­n³o¼Ë¡C°£«D»Ý­n§Q¥Î·í«e¿ï©w®É¤~»Ý­n³o¼ËÀ³¥Î¡C
¤H¥Í¥u¦³¤T¤Ñ¡A¥u¦³¬¡¦b¤µ¤Ñ³Ì½ñ¹ê

TOP

VBA ¤£·|¦Û°Ê¦¬©U§£¶Ü?

³Ì«á¨â¦æ¨S¼g, ¤£·|¦Û°ÊÄÀ©ñ°O»õÅé¶Ü?

TOP

ÁÂÁ¤j¤j¡A¨ü±Ð¤F¡A¤S¾Ç²ß¨ì¤@½Ò

TOP

·PÁª©¥D¤À¨É
§Ú­è¶}©l¨Ï¥ÎVBAªº½T¤]¬O§â¿ý»s¨ìªº¥¨¶°·Ó³æ¥þ¦¬
¤£¹L ²{¦b¤w¸g¯à¼g¥X¤ñ¸û¦³®Ä²vªºCODE¤F

TOP

¦^´_ 1# Hsieh
½Ð°Ý¤£¦PªºSheet¤ÎRange,±o¤£¨ì¥¿½Tµ²ªG!?À³¸Ó¤J¦ó­×¥¿:L
Sheets(a1).Range("A4:B36") = Sheets(a2).Range("B5:B37,E5:E37")

TOP

        ÀR«ä¦Û¦b : ¦h°µ¦h±o¡C¤Ö°µ¦h¥¢¡C
ªð¦^¦Cªí ¤W¤@¥DÃD