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

[µo°Ý] ¼Ï¯Ã¤ÀªR¶µ¥Ø²Ö­pªº°ÝÃD

¥»©«³Ì«á¥Ñ kimbal ©ó 2011-4-29 07:56 ½s¿è

¸Õ¸Õ³o¼Ë: (¨S¦³¸Ô²Ó´ú¸Õ)
  1. Sub ³øªí(i as integer)

  2.     With Sheets("¹ê»Ú»P¹wºâ¤ñ¸û").PivotTables("¼Ï¯Ã¤ÀªRªí4").PivotFields("¤ë¥÷")
  3.         .Orientation = xlPageField
  4.         .Position = 1
  5.         for j = 1 to 12
  6.                 .PivotItems("99¦~" & str(j) & "¤ë").Visible = (j<=i)
  7.         next
  8.     End With
  9.    
  10. End Sub
½Æ»s¥N½X
©I¥s®É:
  1. call ³øªí(10)
½Æ»s¥N½X
10 ¬°¤ë¥÷
À´±oµo°Ý,µª®×´N·|¦b¨ä¤¤

¤µ¤éの¤@¬íは  ©ú¤éにない
http://kimbalko-chi.blogspot.com
http://kimbalko.blogspot.com

TOP

        ÀR«ä¦Û¦b : ¤f»¡¤@¥y¦n¸Ü¡A¦p¤f¥X½¬ªá¡F¤f»¡¤@¥yÃa¸Ü¦p¤f¦R¬r³D¡C
ªð¦^¦Cªí ¤W¤@¥DÃD