Professional Documents
Culture Documents
Excel Vba Program To Insert The Magma Result Picture
Excel Vba Program To Insert The Magma Result Picture
1.
INTRODUCTION
Please follow the following steps to insert the picture in easy way and no need to spend too much
time for picture alignment and editing in excel for magma result report.
Page 1 of 5
Double Click the Active Sheet (For example I will open Sheet 11 (Standard Format) in left
Side Corner
Program screen will open and Copy the Below VBA program and Past into the White
Screen.
Page 2 of 5
Sub InsertPictures()
Dim
Dim
Dim
Dim
Dim
Pict() As Variant
ImgFileFormat As String
PictCell As Range
lLoop As Long
sShape As Picture
Page 3 of 5
Image selection screen will open and select the Folder location of Magma Result Location.
Select the image based on the % filling Ration and click Open.
Page 4 of 5
Page 5 of 5