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

[µo°Ý] Àx¦s®æ½d³ò½Æ»s&¥t¦s¦¨TIFÀÉ

¥»©«³Ì«á¥Ñ Joforn ©ó 2020-10-28 08:43 ½s¿è

§c¡A2020-2-13发ªº·s©«¡A³£10¤ë¤F还¦b顶©«¡A¦n°õµÛ°Ú:D
¥@¬É¨º»ò¤j¡A¥i§Ú·Q¥h­þ¡H

TOP

­è¦n¤µ¤Ñ¤£¤Ó¦£¡A¼g¤F¤@­Ó®Ä²v°ªÂI¤F¼Ò²Õ¡A¥i¨Ì·Ó¤å¥óªº¬ÛÀ³¦Zºó¦W¥Í¦¨«ü©w®æ¦¡ªº¹Ï¤ù¤åÀÉ¡G
  1. Sub Test()
  2.   Debug.Print SaveRangeToPictrue(Range("M2:V27"), ThisWorkbook.Path & Application.PathSeparator & "Test.BMP")
  3.   Debug.Print SaveRangeToPictrue(Range("M2:V27"), ThisWorkbook.Path & Application.PathSeparator & "Test.jpg")
  4.   Debug.Print SaveRangeToPictrue(Range("M2:V27"), ThisWorkbook.Path & Application.PathSeparator & "Test.EMF")
  5.   Debug.Print SaveRangeToPictrue(Range("M2:V27"), ThisWorkbook.Path & Application.PathSeparator & "Test.PNG")
  6.   Debug.Print SaveRangeToPictrue(Range("M2:V27"), ThisWorkbook.Path & Application.PathSeparator & "Test.GIF")
  7.   Debug.Print SaveRangeToPictrue(Range("M2:V27"), ThisWorkbook.Path & Application.PathSeparator & "Test.TIF")
  8. End Sub
½Æ»s¥N½X
SaveRangeToPictrue¨ç¼Æ¥N½X¹Lªø¡Aª½±µ©ñªþ¥ó¨½¤F¡C
SaveRangeToPictrue.zip (61.05 KB)
¥@¬É¨º»ò¤j¡A¥i§Ú·Q¥h­þ¡H

TOP

        ÀR«ä¦Û¦b : ·R¤£¬O­n¨D¹ï¤è¡A¦Ó¬O­n¥Ñ¦Û¨­ªº¥I¥X¡C
ªð¦^¦Cªí ¤W¤@¥DÃD