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

[µo°Ý] «ç»ò¦bUSERFORM¤¤¥[¤J¥i¿z¿ï½Æ¿ï¤§¾ðª¬¹Ï

¦^´_ 28# chaoyiho
  1.     '  2016/04/26  ¼W¥[»P "EXCELªí³æ³B²z¤¶­±.ListBox" ªº³sµ²¡C
  2.     Dim cts As Integer
  3.    
  4.     With ActiveSheet.PivotTables("¼Ï¯Ã¤ÀªRªí1").PivotFields(" VSL")
  5.         For cts = 0 To EXCELªí³æ³B²z¤¶­±.ListBox1.ListCount - 1
  6.             '  .PivotItems(EXCELªí³æ³B²z¤¶­±.ListBox1.List(cts)).Visible = IIf(EXCELªí³æ³B²z¤¶­±.ListBox1.Selected(cts), True, False)
  7.             '  §ó²¼ä¡B§ã­nª½±µªº Assignment ªºªí¥Ü¦¡¡C
  8.             .PivotItems(EXCELªí³æ³B²z¤¶­±.ListBox1.List(cts)).Visible = EXCELªí³æ³B²z¤¶­±.ListBox1.Selected(cts)
  9.         Next cts
  10.     End With
½Æ»s¥N½X
±µ¤U¬Ý§A¦Û¤v¦p¦ó¥hÅܤƥ¦¤F¡C

TOP

¦^´_ 28# chaoyiho
¦pªG§A·Q­n¦b©óÂI¿ï¡y°õ¦æ¤ÀªR¡z«á¡A©Ò¦³¼W¦C¤§
Sav¡BJ.C.W¡BP.C.O¡BPmax¡BStuffing Box¡BF.O.¡B
Exh¡BExh ¤u§@ªí³æ VSL §¡»P ¡uÁ`ªí¡v¹ïÀ³¤§
VSL ¦P¨B¡A«h±N "#¼Ó¤W" ¼W¦Cªº·s¼W¡uµ{¦¡½X¡v
¤º®e²¾¦Ü
  1.     Sheets("¤u§@ªí1").Select
  2.     Sheets("¤u§@ªí1").Copy Before:=Sheets(1)
  3.     Sheets("¤u§@ªí1 (2)").Select
  4.     Sheets("¤u§@ªí1 (2)").Copy Before:=Sheets(1)
  5.     Sheets("¤u§@ªí1 (3)").Select
  6.     Sheets("¤u§@ªí1 (3)").Copy Before:=Sheets(1)
  7.     Sheets("¤u§@ªí1 (4)").Select
  8.     Sheets("¤u§@ªí1 (4)").Copy Before:=Sheets(1)
½Æ»s¥N½X
¤§«e¤@¦C¡C¦p¦¹¤W¦C¤u§@ªí³æ«K¯à¦P¨B³B²z¦P¨B¸ê®Æ¤F¡C
¤Ï¤§¡A¦pªG§A¶È¶È·Q¡uÁ`ªí¡v¤u§@ªí³æ³æ¿W¹ïÀ³
"EXCELªí³æ³B²z¤¶­±.ListBox" ªº³sµ²´N OK ¤F¡A
¨º´N«O«ù¦b CommandButton3_Click() µ²§ô«e³B²z¡C

TOP

¦^´_ 28# chaoyiho
  1.     Dim cts As Integer
  2.    
  3.     With ActiveSheet.PivotTables("¼Ï¯Ã¤ÀªRªí1").PivotFields(" VSL")
  4.         For cts = 0 To EXCELªí³æ³B²z¤¶­±.ListBox1.ListCount - 1
  5.             .PivotItems(EXCELªí³æ³B²z¤¶­±.ListBox1.List(cts)).Visible = IIf(EXCELªí³æ³B²z¤¶­±.ListBox1.Selected(cts), True, False)
  6.         Next cts
  7.     End With
½Æ»s¥N½X

TOP

¦^´_ 28# chaoyiho

TOP

¦^´_ 28# chaoyiho
¨º¬°¦ó¤£ª½±µ¨Ï¥Î "¤â°Ê¿z¿ï"¡H¤S¥i­«½Æ¨Ï¥Î¡C

TOP

¦^´_ 27# c_c_lai

¥Î¹Ï¸Ñ¤ñ¸û²M·¡!
´N¬O»¡¹³¤U­±³o±i¹Ï

³o¬O¤ÀªR¹L«áªºªí®æ ¬Û«H±zª¾¹Dªº!
³Ì¤W­±ªº¼ÐÅÒ¦C¤U¤è¦³­Ó«ö¶s¬O¿z¿ïªº¥\¯à ¬Û«H±z¤]¯à¬Ý¨ì
ÂIÀ»³o­ÓªF¦è ¥L·|¶]¥X¤U¹Ïªº®Ö¿ï¤è¶ô¾ðª¬¹Ï
4444.png
¥Lªº¥\¯à´N¬O¥i¥H¥uÅã¥Ü§Ú­n¬Ýªº²î¦W ¹ï²î²í°µ¿z¿ï ¦Ó¤£¬O¤@¦¸¥þ³¡¬Ý
¦Ó¦b«e½úÀ°§U¤U«Ø¥ßªº³o­ÓÅã¥Üµe­±ªº½T¥i¥H¹ï²î²í°µ½Æ¿ï
¦ý¬O«oµLªk¹³¨º­Ó®Ö¿ï¤è¶ô¾ðª¬¹Ï³o¼Ë¥i¿z¿ï¦Û¤v·Q¬Ýªº¸ê®Æ©Î¥þ³¡³£¤£¿ï
¤£ª¾¹D¤p§Ì³o¼Ë¸ÑÄÀ
«e½ú±z¥i¥H©ú¥Õ¶Ü?

TOP

¦^´_ 26# chaoyiho
ÂIÀ»¤§«á¹ï­n¤ÀªRªí³æ¤¤ªºVSL(²î²í)°µ¿z¿ï°Ê§@¡H
¤£¬Æ¤F¸Ñ¡A³B²z¹Lµ{¯à§_¸Ô¤@¤@²ÓÁ|¨Ò»¡©ú¡H

TOP

¦^´_ 24# c_c_lai

«e½ú¦n¡A­è­è¦^¤åªº°ÝÃD §Ú¦b¸g¹L´ú¸Õ¤§«á µo²{­ì¨Ó¬OÀɮ׶}±Ò¶¶§Çªº¿ù»~
©Ò¥H¤w¸g¸Ñ¨M
²{¦b¥¿¦b¹Á¸Õ±N³o­Ó»yªk®M¥Î¦Ü¥þ³¡ªº³B²zªí³æ¤W(§Æ±æ¤£·|¦³¿ù»~)

¦ý¬OÁÙ¦³¤@­Ó³Ì­«­nªº°ÝÃD´N¬O
ÁöµM²{¦b¤w¸g¦³¥X²{¿z¿ï²î²í¿ï¶µ
¦ý¬O¥¦¶È¶È¥u¬O¥X²{¡AÂIÀ»¤§«á¨Ã¤£·|¹ï­n¤ÀªRªí³æ¤¤ªºVSL(²î²í)°µ¿z¿ï°Ê§@

½Ð°Ý³o­Ó³¡¤À¸Ó«ç»ò³B²z©O?
ÂIÀ»¤§«áÅý¥L¥i¥H¹ïªí®æ°µ¿z¿ï°Ê§@?

TOP

¦^´_ 24# c_c_lai

«e½ú¦n¡A·PÁ±zªº¦^ÂÐ
­è­è§Ú¹Á¸Õ·ÓµÛ±zªº¦^¤å§@µ{¦¡½X­×§ï«á
µo²{°ÝÃD
¦b¶}±ÒÂÂÀɤ§«á¡A¤@«ö¤U°õ¦æ¤ÀªR´N·|¥X²{¿ù»~¥N½X91
·íµM ¦]¬°¦b¦³Àˬd¿ù»~µ{¦¡½X¤§¤U
¥i¥HÄ~Äò¶]§¹µ{¦¡
¦ý¬O³Ì¥kÃä«o¤£·|¥X²{¦p«e½úªº¨º¼Ë³B²z§¹¦¨µe­±
½Ð°Ý³o¬O¤°»ò­ì¦]©O?

TOP

¦^´_ 23# chaoyiho

TOP

        ÀR«ä¦Û¦b : °µ¸Ó°µªº¨Æ¬O´¼¼z¡A°µ¤£¸Ó°µªº¨Æ¬O·Mè¡C
ªð¦^¦Cªí ¤W¤@¥DÃD