LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Graphics quality degrading

I wonder if anyone can help with this please . . .

I am inserting images via some code provided previously from Robert via this NG; I then have code which saves the XL workbook as a PDF but the quality of the images is degraded substantially in the PDF.

My question is, does anyone know why that would be the case, and more importantly, how to resolve?

I've placed both pieces of code below.

TIA

Steve

Sub Insert_Pic_A20()

Application.ScreenUpdating = False
Range("A20").Select

SendKeys "{Enter}"
Application.Dialogs(xlDialogInsertPicture).Show

Selection.ShapeRange.LockAspectRatio = msoFalse
Selection.ShapeRange.Width = 272#
Selection.ShapeRange.Height = 152#

Application.ScreenUpdating = True
End Sub


Sub Save_As_PDF()

Dim myFile As String, myFolder As String

myFolder = "C:\Field Reports"

If Not IsFolderExists(myFolder) Then
CreateObject("Scripting.FileSystemObject").CreateF older myFolder
End If

ChDir "C:\Field Reports"


filname = InputBox("Please enter the name for the PDF file:", "Filename")

ActiveWorkbook.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _
"C:\Field Reports\" & filname & ".pdf", Quality:=xlQualityStandard, IncludeDocProperties:=True, _
IgnorePrintAreas:=False, OpenAfterPublish:=True


End Sub
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Export to quality center Anamika Excel Discussion (Misc queries) 1 May 23rd 09 02:33 AM
Photos quality? Karim Mounir Excel Discussion (Misc queries) 3 October 24th 07 12:21 AM
Six Sigma & Quality Tools Scott Wagner Excel Discussion (Misc queries) 0 March 22nd 06 02:28 AM
Quality/ Productivity diagram KrunoG Charts and Charting in Excel 2 January 31st 06 05:55 PM
How to set Printing quality to Draft? Fries[_2_] Excel Programming 4 December 21st 04 06:31 AM


All times are GMT +1. The time now is 02:32 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"