I have a spreadsheet that once created and verified needs to be put into a totally non-editable format (to be accomplished automatically using VBA). My boss suggested using our network pdf printer to convert the excel file into a pdf. I was hoping that there could be another way.
I found this information in another post:
And I came up with this code (would be tweaked to fit):Originally Posted by mdmackillop
[VBA]Sub Macro2()
Workbooks.Add
With Cells.Interior
.ColorIndex = 2
.Pattern = xlSolid
End With
Windows("Job 123456 - Run Test - Press 1009 - 4.12.2007.xls").Activate 'This is the existing workbook
Range("A1:H37").Copy
Windows("Book5").Activate 'The workbook that was just added
ActiveSheet.Pictures.Paste.Select
End Sub[/VBA]
I was wondering if it was possible to create this picture in something other than Excel. Perhaps something like Paint, where I can save the file as a bitmap or a jpeg or whatever. Whatever I do, I need to accomplish it all with coding.
Thanks!
~Heather