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

[µo°Ý] ¦p¦ó±Nªí³æ¤ºªºmultipage¼W³]ª«¥óÃþ§O©O¡H

¥»©«³Ì«á¥Ñ dechiuan999 ©ó 2013-10-25 17:38 ½s¿è

¦^´_ 4# stillfish00


    ÁÂÁ¤j¤jªº»¡©ú
¤p§Ì¬O¤F¸Ñ¦b¤@¬q¼Ò²Õ¤º
¦p¦ó¾Þ§@multipage
¡C¦ý¤p§Ì¬O·Q¸ÕµÛ¦bÃþ§O¼Ò²Õ
¤º¨Ó¾Þ§@multipage
¡C¦]¦¹¡A¤p§Ì¤]¦bÃþ§O¼Ò²Õ
¸Ì«Å§i
Public WithEvents mPage As MSForms.MultiPage
¦ý¤£ª¾¦p¦ó¨Ó¾Þ§@mpage¦¹ª«¥ó¹ï¶H¡C

ÁÂÁ¤j¤j¡I

TOP

¥»©«³Ì«á¥Ñ stillfish00 ©ó 2013-10-25 15:44 ½s¿è

¦^´_ 3# dechiuan999
§A­nª¾¹D¨Ï¥ÎªÌ¿ï¨ú®É¬O­þ¤@­Ó¤À­¶¡A¥i¥H¦bchange§PÂ_
Private Sub MultiPage1_Change()
  msgbox MultiPage1.Pages(MultiPage1.Value).Caption
End Sub

TOP

¦^´_ 2# stillfish00


    ¤j¤j±z¦n¡G

¤p§Ì¸ÕµÛ±N»yªk§ï¦¨¦p¤U
¤]¬O¤£¦æ©O¡H

ReDim mPg(1 To 2)
   
Set mPg(1) = New myClass
Set mPg(1).mPage = UserForm1.MultiPage1.Pages(0)
        
Set mPg(2) = New myClass
Set mPg(2).mPage = UserForm1.MultiPage1.Pages(1)

¥t¤p§Ì·Q¦bª«¥óÃþ§O¼W¦C
Private Sub mPage_Change()
       
End Sub
¤º®e¬°·í¨Ï¥ÎªÌ¿ï¨ú
page®É¯à±oª¾¬O
page1ªº¦WºÙpdfÀÉ
©Î¬O
page2ªº¦WºÙazlbÀÉ
¬O§_¥i½Ð¤j¤j¯à´£¨Ñ­×¥¿ªº
»yªkÅý¤p§Ì¾Ç²ßmultipage
¦bª«¥óÃþ§O¦p¦ó¹B§@


ÁÂÁ±z¡I

TOP

¦^´_ 1# dechiuan999
1.  Set mPg(k) = New myClass¡A§A§âk¼g¦¨1¤F
2.  UserForm¤W¥u¦³¤@­ÓMultiPageª«¥ó¡A§YMultiPage1¡A
      "PDFÀÉ"©M"AZLBÀÉ"³o¨â­Ó¤À­¶¬O MultiPage1 ©³¤Uªº Page ª«¥ó¡A
      ¨Ò¦p¤À­¶"PDFÀÉ"¥i¥Î : MultiPage1.Page1 ©Î MultiPage1.Page(0) ªí¥Ü

TOP

        ÀR«ä¦Û¦b : ª¾ÃÑ­n¥Î¤ßÅé·|¡A¤~¯àÅܦ¨¦Û¤vªº´¼¼z¡C
ªð¦^¦Cªí ¤W¤@¥DÃD