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

[µo°Ý] excel¦C°ªÀH¹q¸£windows 7 ³]©w¤£¦P¦Ó¦³®t²§

[µo°Ý] excel¦C°ªÀH¹q¸£windows 7 ³]©w¤£¦P¦Ó¦³®t²§

¤U¦Cªº¥¨¶°¹J¨ì¤@­Ó°ÝÃDµLªk¸Ñ¨M ·Q½Ð±Ð°£¤F¤â°Ê½Õ¾ãwindows³]©w¥~ ¯à§_¥H¥¨¶°¤è¦¡¦Û°Ê³B²z¡H
¦]¬°ªí®æ(¦C°ª¡BÄæ¼e§¡¦³©T©w³W®æ)¦³½Æ»s»Ý­n ¬G¥H¤U¦Cµ{¦¡½X³B²z
¦ý¦¹µ{¦¡½X¦b¥»¤H¹q¸£¹B§@¥¿±` ¦b¥L¤H¹q¸£·|µo¥Íªí®æ¶]±¼±¡§Î
¸g¹L½T»{­ì©lªí®æªº¦C°ª¼Æ­È(¥kÁä½T»{¦C°ª)¬O©T©wªº  ¦ý°ÝÃD¥X¦b©ówindows 7³]©w
±±¨î¥x>¥~Æ[¤Î­Ó¤H¤Æ>Åý¿Ã¹õ¤Wªº¤º®e§ó®e©ö¾\Ū
§Úªº³]©w¬O100%¡A¥L¤Hªº³]©w¬O125%
¾É­P§Úªºªí®æ¦b¹wÄý®É³£¥¿±` ¦ý¥L¤Hªº¹q¸£¦b¹wÄý²Ä¤T­¶¤§«á´N¶}©l¶]±¼(²Ä4­¶ªº¸ê®Æ¶]¨ì²Ä3­¶¡Kµ¥)
½Ð±Ð¸Ó¦p¦ó³B²z¡H
  1.     If myPhoto <> "" Then                                             
  2.         j = 25
  3.         Set Rng = Rows("1:24")
  4.             Rng.Copy                                                         
  5.         For i = 1 To (countPhoto - 1)
  6.             With ActiveSheet.Cells(j, 1)                                 
  7.                  .PasteSpecial Paste:=xlPasteAll
  8. '                .PasteSpecial Paste:=xlPasteFormats                          
  9.             End With
  10.             j = j + 24
  11.         Next i
  12.         Application.CutCopyMode = False
½Æ»s¥N½X
HELLO !!

¥»©«³Ì«á¥Ñ luhpro ©ó 2014-12-26 00:17 ½s¿è
¤U¦Cªº¥¨¶°¹J¨ì¤@­Ó°ÝÃDµLªk¸Ñ¨M ·Q½Ð±Ð°£¤F¤â°Ê½Õ¾ãwindows³]©w¥~ ¯à§_¥H¥¨¶°¤è¦¡¦Û°Ê³B²z¡H
¦]¬°ªí®æ(¦C ...
baconbacons µoªí©ó 2014-12-25 09:00

¥Î Excel VBA §ìµn¿ýÀɸê®Æªº¤è¦¡§ÚÁÙ¤£¬O«Ü¼ô,
³o¸Ì¥u¯à¥ý´£¨Ñ Windows 7 ¬ÛÃöµn¿ý¸ê®ÆÀÉ°T®§:

[HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics]
"AppliedDPI"=dword:00000060

¦p¤W¨Ò¦¹­È = Hex 60 , §Y 10 ¶i¦ì­È = 96 (¨ä·N ¬° 96 DPI -> ¦¹®É¿Ã¹õ¸ÑªR«×ªº DPI ¼Ð·Ç­È, §Y¦¹¬° 100% ®Éªº DPI ¼Æ)  (Hex ¬° 16 ¶i¦ì­È, DPI : ¨C­^¦T¹³ÂI¼Æ)

[HKEY_CURRENT_USER\Control Panel\Desktop]
"LogPixels"=dword:00000060

¨Ì¤W¨Ò¼Ð·Ç DPI ¼Æ°µ­pºâ,
·í¦¹­È = Hex 60 ®É, 10¶i¦ì­È = 96 (¨ä·N ¬° 96 DPI, = 100%)
·í¦¹­È = Hex 78 ®É, 10¶i¦ì­È = 120 (¨ä·N ¬° 120 DPI, = 125%)

µ{¦¡½X´N½Ð¤j®aÀ°¦£¸ÉÅo.

TOP

¦^´_ 2# luhpro
·PÁÂluhpro¤jªº´£¿ô
¤]§ä¤F½×¾Â¤å³¹¥u¦³¬Ý¨ìHsieh¤jªº¤å³¹´£¨ì¿Ã¹õ¸ÑªR«×ªº¨ú±o
Hsieh¤j¡G¨ú±o¨t²Î¸ê°T/¨Ï¥ÎªÌ¸ê°T
¥u¬OLogPixels¦n¹³©M¸ÑªR«×¤S¤£§¹¥þ¤@¼Ë¡Aºô¸ô¤W¸ê®Æ»¡¥sÅÞ¿è¹Ï¯À¡A¥¦ªº°ò¥»·N«ä¬O¡u¥H¨C­^¤oªº¹Ï¯À¼Æ¬°³æ¦ìªº«D¹ê»Ú¸ÑªR«×¡v
ÁöµMÁÙ¤£ª¾¹D«ç»ò¸Ñ¨M ¦ý¤]¬O¾Ç¤F¤@½Ò¥ý  ÀR«Ý¨ä¥L«e½ú´£¨Ñ·N¨£ ·PÁÂ
HELLO !!

TOP

¦^´_ 1# baconbacons
¥i¥H¸Õ¸Õ¥Î©ñ¤jÁY¤p¡A¨Ï¬Y½d³òÅã¥Ü¦b¤@¾ã­¶
EX:  °²³]1~24¦æ¬°¤@­¶
  1. Sub AutoZoom()
  2.   ActiveSheet.Range("1:24").Select
  3.   ActiveWindow.Zoom = True
  4. End Sub
½Æ»s¥N½X
ªí¹F¤£²M¡BÃD·N¤£©ú½T¡B¨SªþÀɮ׮榡¡B¨S¦³°Q½×°ÝÃDªººA«×~~~~~~¥H¤W·R²ö¯à§U¡C

TOP

¦^´_ 4# stillfish00
stillfish00¤j¡G

§Úª½±µ±NActiveWindow.Zoomªº­È³]©w¬°100  ¦ý°ÝÃDÁÙ¬O¨S¸Ñ¨M §Ú·QÁY©ñ¤ñ¨Ò©MLogPixels¦n¹³¬O·N«ä¤£¦P
ActiveWindow.Zoom = 100
·Ð½Ðstillfish00¤j¦A«ü±Ð
HELLO !!

TOP

¦^´_ 5# baconbacons
¸Õ¸Õ¬Ý

ThisWorkbook ¼Ò²Õªº¬¡­¶Ã¯¨Æ¥ó
  1. Option Explicit
  2. Const My_Width = 9.11  '«ü©wÄ檺¼e«×
  3. Const My_Height = 20.4 '«ü©w¦Cªº°ª«×
  4. Private Sub Workbook_Open()
  5.     Àx¦s®æªº½Õ¾ã ActiveSheet
  6. End Sub
  7. Private Sub Workbook_SheetActivate(ByVal Sh As Object)
  8.     Àx¦s®æªº½Õ¾ã Sh
  9. End Sub
  10. Private Sub Àx¦s®æªº½Õ¾ã(Sh As Worksheet)
  11.     With Sh.Cells
  12.         .ColumnWidth = My_Width
  13.         .RowHeight = My_Height
  14.     End With
  15. End Sub
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 6# GBKEE
GBKEE¤j¡G
°Ý¤@­Ó²Â°ÝÃD¡A¬O­n§â³o¤T­ÓPrivate Sub³£¶K¦bThisWorkbookªº¼Ò²Õ¦A°õ¦æ¶Ü¡H
ÁÙ¬O¶K¦b­ì¥»¦Û¤vªºµ{¦¡½X¤¤¡H¦]¬°§ÚªºÀx¦s®æ¨Ã«D¨C¤@¦C°ª¡B¨C¤@Äæ¼e³£©T©w¤j¤p
¦Ó¬O±N24¦C¦X¨ÖÀx¦s®æ«á¡A¥H¦¹¦X¨ÖÀx¦s®æ¬°¼ËªO¥h½Æ»s¡A©Ò¥H¤~·|¦³¤U¦Cµ{¦¡½Xªº§@ªk
Set Rng = Rows("1:24")
            Rng.Copy
HELLO !!

TOP

¦^´_ 7# baconbacons
ThisWorkbookªº
Private Sub Workbook_Open()
¦bÀɮ׶}±Ò®É¦Û°Ê°õ¦æªºµ{¦¡.
Private Sub Workbook_SheetActivate(ByVal Sh As Object)
¦b¬¡­¶Ã¯¤¤¿ï¾Ü§@¥Î¤¤¤u§@ªí®É¦Û°Ê°õ¦æªºµ{¦¡.

§Aªº±¡ªp¥i¯à¶·¦b³oµ{¦¡¤¤¤@¤@«ü©w­Ó§OÀx¦s®æªºÄæ¼e,¦C°ª
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 5# baconbacons
¨S¦³­n§A³]©w¬°100°Ú¡A¬O­n§A¦bcopy§¹°õ¦æ¤@¦¸ 4# ªº AutoZoom¡AÅý¥L¥h¦Û°Ê½Õ¾ã
ªí¹F¤£²M¡BÃD·N¤£©ú½T¡B¨SªþÀɮ׮榡¡B¨S¦³°Q½×°ÝÃDªººA«×~~~~~~¥H¤W·R²ö¯à§U¡C

TOP

¦^´_ 9# stillfish00
stillfish00¤j¡G
¹Á¸Õ§Aªº«Øijµ{¦¡½X  ÁÙ¬O·|¶W¥X¸Ó­¶­±  §Ú·Q¥i¯à¤£¬OÁY©ñ¤ñ¨ÒªºÃö«Y
¦]¬°§Úªº¤u§@ªí¦C°ª­È©M§O¤H¹q¸£ªº¦C°ª­È §¹¥þ¤@¼Ë
§Ú¹q¸£ªºµn¿ýÀɳ]©w­È = Hex 60 ®É, 10¶i¦ì­È = 96 (¨ä·N ¬° 96 DPI, = 100%)
§O¤H¹q¸£µn¿ýÀɳ]©w­È = Hex 78 ®É, 10¶i¦ì­È = 120 (¨ä·N ¬° 120 DPI, = 125%)
µ²ªG´N¬O§Ú¦L¥X¨Ó³£¥¿±` §O¤H¦L¥X¨Ó´N¶}©l¥X²{¿ù¦ì±¡§Î
·PÁÂstillfish00¤j
HELLO !!

TOP

        ÀR«ä¦Û¦b : ¦¨¥\¬OÀuÂIªºµo´§¡A¥¢±Ñ¬O¯ÊÂIªº²Ö¿n¡C
ªð¦^¦Cªí ¤W¤@¥DÃD