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

½Ð±Ð­Ó©w¦ì°ÝÃD

½Ð±Ð­Ó©w¦ì°ÝÃD

  1.    If ActiveSheet.Name = Sht1.Name And xRow > 20 Then
  2.       ActiveWindow.ScrollRow = xRow - 5
  3.    End If
  4.    ThisWorkbook.Save
  5.    Beep
½Æ»s¥N½X
¥H¤Wªº¼gªkÀ³¸Ó¬O¥i¥H§â¬ö¿ý¤U¨Óªº¸ê®Æ,±Nµe­±©w¦ì¦b¬Y¤@¦C,
¤£¹L·í§Ú¦P®É¶}±Ò¨â­ÓexcelÀɪº®É­Ô,¬O·|¤¬¬Û¤z¯A¶Ü?
Ä´¦p¤@­Ó©w¦ì¦b20¦C30¬í¬ö¿ý¤@¦¸,¤@­Ó©w¦b30¦C1¤ÀÄÁ¬ö¿ý¤@¦¸
Åܦ¨¨C­Ó30¬í,¨â­ÓexcelÀɳ£·|©w¦b20¦C,¥t¤@­Ó¨S¬ö¿ýªº¤]·|²¾°Ê¨ì¦P¤@­Ó¦C

If ActiveSheet.Name = Sht1.Name And xRow > 20 Then
      ActiveWindow.ScrollRow = xRow - 5
   End If

§ï¦¨³o¼Ë©O?

   If  xRow > 20 Then
      Sht1.ScrollRow = xRow - 5
   End If

¥i¥Hªº¸Ü¡A­×§ïThisWorkbook.Save³o¤@¥y¡A
«ü¥X©ú½T­n¦sÀɪºWorkbook¡C
­Y¬O§Ú¦^µª¡A¨Ï±zº¡·N¡A½Ð±zÅý§Úª¾¹D¡I                  
­Y¬O§Úªº¦^ÂСA±z¤´¦³¨ä¥L¨£¸Ñ¡A¤]½Ð±z¤£¶Þ«ü±Ð¡I

TOP

¦^´_ 2# Min

§A¦n ·|¥d¦í

TOP

¦^´_ 3# vic

¸Õ¸Õ¬Ý
  1. Option Explicit
  2. Sub Ex()
  3.     Dim i As Integer
  4.     With Workbooks(1)       '²Ä¤@­Ó¬¡­¶Ã¯
  5.         .Activate           '¦¨¬°§@¥Î¤¤ªº¬¡­¶Ã¯
  6.         With ActiveWindow   '§@¥Î¤¤ªº¬¡­¶Ã¯
  7.             .NewWindow   '·s¶}Window(µøµ¡)
  8.         
  9.         End With
  10.     End With
  11.     Windows.Arrange ArrangeStyle:=xlHorizontal

  12.     'Arrange : ¹ï¿Ã¹õ¤Wªºµøµ¡¶i¦æ±Æ¦C¡C
  13.     With Workbooks(1).Windows
  14.         '²Ä¤@­Ó¬¡­¶Ã¯,Windows ¶°¦X¡A¦¹¶°¦X¥Nªí«ü©w¬¡­¶Ã¯¤¤ªº©Ò¦³µøµ¡¡C
  15.         For i = 1 To .Count
  16.             .Item(i).ScrollRow = i * 15
  17.         Next
  18.     End With
  19. End Sub
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

        ÀR«ä¦Û¦b : ¤p¨Æ¤£°µ¡B¤j¨ÆÃø¦¨¡C
ªð¦^¦Cªí ¤W¤@¥DÃD