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

[µo°Ý] ½Ð±Ð¦U¦ì«e½ú¡A¦p¦ó¦C¦L¦h¥÷¦Û°Ê¸õ¸¹?

[µo°Ý] ½Ð±Ð¦U¦ì«e½ú¡A¦p¦ó¦C¦L¦h¥÷¦Û°Ê¸õ¸¹?

¥»©«³Ì«á¥Ñ zero20209 ©ó 2016-4-21 18:23 ½s¿è

§Ú¦³¤@¥÷¸ê®Æ¡A¤½¦¡³£¤w¸g³]©w§¹¦¨¡A¦b¤u§@ªí A1 ªº¦ì¸m¬O¤@­Ó¤é´Á
¦Ó³o­Ó¤é´Á¨C¤@¤Ñ¤U­±ªºÀx¦s®æ³£¤w¸g¸ò¨ä¥L¤½¦¡³s°Ê¡A©Ò¥H¥u­n§ó§ï¤é´Á´N¥i¥H¦L¥X§Ú­nªºªF¦è
­«ÂI¨Ó¤F¡A§Ú·Q­n³sÄò¦C¦L¤@­Ó§«ô¡A©ÎªÌ¬O¤@­Ó¤ë¡A¦ý¬O¥Ø«e¥u¯à¨C«ö¤@­Ó¤é´ÁµM«á¦A«ö¤@¦¸¦C¦L
½Ð°Ý¦³¿ìªk³]©w¤@­Ó«ö¶s¡A¼g¥X¥¨¶°¡AÅý¦¹¤u§@ªí¥i¥H³]©w­n¦C¦Lªº¥÷¼Æ¡AµM«á¨C¦C¦L¤@¥÷¡A¤é´Á·|¦Û°Ê+1¶Ü?

¨Ò¦p:¥Ø«e4¤ë1¸¹¡A«ö¤F«ö¶s¡A¥X²{­n¦C¦L¥÷¼Æªº´£¥Ü¡A§Ú¿ï¤F7¡A¥L´N·|¦C¦L4¤ë1¸¹¹D4¤ë7¸¹ªº¤u§@ªí¥X¨Ó

§Ú¦³³]©w¤@­Ó«ö¶s¨Ã¶ñ¼g¤F¥¨¶°
¥H¤U¬O§Ú§ä¥X¨Óªº¡A¦ý¨S¿ìªk¹F¨ì§Ú­nªº¥\¯à¡A¦]¬°¥¨¶°ÁÙ¤£§¹µ½
½Ð°Ý¦U¦ì«e½ú­Ì¯àÀ°§Ú§¹µ½¦¹¥¨¶°¡A©ÎªÌ¬O´£¨Ñ§ó¦nªº¤è¦¡¶Ü?
¥ý¦b¦¹»¡Án·PÁÂ

Sub ¦C¦L¦Û°Ê¸õ¸¹()
    Dim myPrintNum As Integer
    Dim myPrompt, myTitle As String
    myPrompt = "½Ð¿é¤J­n¦C¦Lªº¥÷¼Æ"
    myPrintNum = Application.InputBox(myPrompt, myTitle, 4, , , , , 1)
    ActiveSheet.PrintOut
    Range("A1") = Range("A1") + 1
End Sub

·PÁ«e½úªº«ü¾É¡A³o¥¿¬O§Ú·Q­nªº¥\¯à

TOP

Sub ¦C¦L¦Û°Ê¸õ¸¹()
¡@¡@Dim myPrintNum As Integer
¡@¡@myPrintNum = Application.InputBox("½Ð¿é¤J­n¦C¦Lªº¥÷¼Æ", , 1)
¡@¡@For i = 1 To myPrintNum
¡@¡@¡@¡@ActiveSheet.PrintOut
¡@¡@¡@¡@If i < myPrintNum Then [A1] = [A1] + 1
¡@¡@Next
End Sub

TOP

        ÀR«ä¦Û¦b : ¥¬¬I¦p¼½ºØ¡A¥HÅw³ß¤ß´þ¼íºØ¤l¡A¤~·|µoªÞ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD