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

[µo°Ý] ½Ð°Ý¦p¦ó±N°¸¼Æ¦Cªº¤å¦rÂন¼Æ­È(¤w¦³°ò¥»»yªk ¦ý¤£·|²Õ¦X)

¦^´_ 19# HCG10G8bear
¥H§Aªº¸ê®Æ¯S©Ê¥Î¯S®íÀx¦s®æ¥iÁקK°j°é
  1. Sub ex()
  2. With Sheets("Sheet1")
  3. .Columns("B:B").SpecialCells(xlCellTypeConstants, 1).EntireRow.NumberFormat = "#"  '§ïÅÜÀx¦s®æ®æ¦¡
  4.    With .UsedRange
  5.    .Value = .Value  '­«·s¶ñ¤J¸ê®Æ
  6.    End With
  7. End With
  8. End Sub
½Æ»s¥N½X
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¥»©«³Ì«á¥Ñ HCG10G8bear ©ó 2013-11-8 13:37 ½s¿è

¦^´_ 20# owen06

½d¨ÒÀÉ.zip (14.19 KB)
owen06¤j

ªþÀɳ£¬O¤½¥q©Ò¬d¸ßªº®w¦s

¥Ñ¤½¥q¨t²ÎÂনExcel®É ¦U¤Ø¤oªº¼Æ¦r¬°¤å¦rÀÉ µLªk¥[Á`

©Ò¥Hµo©«¸ß°Ý­n¦p¦ó±N¯S©wªº°¸¼Æ¦CÀx¦s®æÂà´«¦¨¼Æ­È

¥Ø«e°õ¦æª¬ªp¬O¤£·|¥X²{°õ¦æ¶¥¬q¿ù»~

¦ý¬O°õ¦æ«á¤]¨S¦³±N¦U¤Ø¤oªº¼Æ¦r(¤å¦r)Âন¥i­pºâªº¼Æ­È







¤£¦n·N«ä ¤@ª½³Â·Ð±z

ÁÂÁ±z

[attach]16637[/attach]

TOP

¦^´_ 21# Hsieh


¶W¯Åª©¥D±z¦n

±zªºµ{¦¡½X¦³¥Î ¥i¥H¥¿±`°õ¦æ

¤£¹L§Ú¬Ý¤£¤ÓÀ´³o­Ó¦a¤è

Columns("B:B").SpecialCells(xlCellTypeConstants, 1)

¥i§_³Â·Ð±zÄÀºÃ¸Ñ´b

ÁÂÁ±z

TOP

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

¦^´_ 1# HCG10G8bear
³o»yªk¿ù»~ Range("2:2,4:4,6:6').NumberFormatLocal = "G/³q¥Î®æ¦¡"
  1. Range("2:2,4:4,6:6").NumberFormatLocal = "G/³q¥Î®æ¦¡"
½Æ»s¥N½X
¦^´_ 17# HCG10G8bear
UsedRange¬O¤u§@ªíªºª«¥ó(¤u§@ªí¤¤¤w¨Ï¥Îªº½d³ò)
¤u§@ªí¼Ò²Õ¤¤¨Ï¥ÎUsedRange´N¬O«ü³o¤u§@ªíªºUsedRange (¦ý¥i¦p:Sheet1¼Ò²Õ¤¤¿é¼g, Sheet2.UsedRange)
¦b¤@¯ë¼Ò²Õ¤¤(«D¤u§@ªí¼Ò²Õ)¨S¦³«ü©úUsedRangeªº¤÷¼h(¤u§@ªí),¹q¸£«Ü²Â¤£·|¬Ý¬ï¨Ï¥ÎªÌªº¤ß«ä,´N»¡§ä¤£¨ìª«¥ó
¦^´_ 22# HCG10G8bear
PERSONAL¼Ò²Õ¤¤µ{¦¡½X¥i­×§ï¦p¤U
  1. For I = 2 To ActiveWorkbook.ActiveSheet.UsedRange.Rows.Count Step 2
½Æ»s¥N½X
¦^´_ 23# HCG10G8bear

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

TOP

¦^´_ 22# HCG10G8bear


¦b¬Ý¤F§A¤§«eªþªº¹Ï¤§«á¡A§Ú·QÀ³¸Ó§ä¥X­ì¦]¤F¡A
§A¦ü¥G¬O¦³¥t¥~¥Î¦³¤@­Ó¥spersonalªºexcelÀɨÓÀx¦s¼Ò²Õ¡A
µM«á¦A¶}¨ä¥LexcelÀɨӰõ¦æpersonal¸Ì¼Ò²Õªºµ{¦¡¡A
¦Ó§Ú¼gªº®É­Ô³æ¯Âªº¬O¥H¦b¦P¤@­ÓÀɮש³¤Uªº¤è¦¡¨Ó¼gªº¡A
¨Ã¨S¦³ª`·N¨ì³o­Óª¬ªp¡A©Ò¥H¤~·|³y¦¨³o¨Ç°ÝÃD¡C

TOP

¦^´_ 24# GBKEE


   ¶¶«KÂdzo­Ó°ÝÃD½Ð±Ð¤@¤Uª©¥D¡A¬°¤°»ò³o­Ócase¡A
   §Úª½±µ¼gsheet1¡A´N¤£¯à¦b¨ä¥LÀɮש³¤U°õ¦æ¡A
   ¦ý¦pªG§ï¦¨³£sheets("sheet1")¡A´N¥i¥H³q¥Î¤F¡A
   ½Ð°Ý³o¬O¤°»ò­ì¦]©O¡H·Ð½Ð½ç±Ð¡AÁÂÁÂ~

TOP

¥»©«³Ì«á¥Ñ GBKEE ©ó 2013-11-8 15:48 ½s¿è

¦^´_ 26# owen06
ª½±µ¼gsheet1¡A´N¤£¯à¦b¨ä¥LÀɮש³¤U°õ¦æ,¦]sheet1«ü³oÀɮתº¤u§@ªí¼Ò²Õ¦WºÙ,ÁöµM¨ä¥LÀɮפ]¦³sheet1ªº¤u§@ªí¼Ò²Õ¦WºÙ,
³oÀɮתºµ{¦¡½X¤¤µLªk¤Þ¥Î¨ä¥LÀɮתºª«¥ó,
¶·¦p¦¹
  1. ActiveWorkbook.Sheets ("sheet1") '¦WºÙ
  2.     ActiveWorkbook.Sheets (1)        '¯Á¤Þ­È
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

        ÀR«ä¦Û¦b : ¦³¤ß´N¦³ºÖ¡A¦³Ä@´N¦³¤O¡A¦Û³yºÖ¥Ð¡A¦Û±oºÖ½t¡C
ªð¦^¦Cªí ¤W¤@¥DÃD