রবিবার, ১৬ জুন, ২০২৪

code


 এই টিকে কপি করুন ঃ-

Sub InsertPictures()

Dim PicList() As Variant

Dim PicFormat As String

Dim Rng As Range

Dim sShape As Shape

On Error Resume Next

PicList = Application.GetOpenFilename(PicFormat, MultiSelect:=True)

xColIndex = Application.ActiveCell.Column

If IsArray(PicList) Then

xRowIndex = Application.ActiveCell.Row

For lLoop = LBound(PicList) To UBound(PicList)

Set Rng = Cells(xRowIndex, xColIndex)

Set sShape = ActiveSheet.Shapes.AddPicture(PicList(lLoop), msoFalse, msoCTrue, Rng.Left, Rng.Top, Rng.Width, Rng.Height)

xRowIndex = xRowIndex + 1

Next

End If

End Sub

কোন মন্তব্য নেই:

একটি মন্তব্য পোস্ট করুন

How to clean Computer RAM ? কী ভাবে RAM পরিষ্কার করবেন ?

 কম্পিউটারের RAM (Random Access Memory) পরিষ্কার করার সময় খুব সাবধান থাকতে হয়, কারণ এটি একটি সেন্সিটিভ হার্ডওয়্যার কম্পোনেন্ট। নিচে ধাপে ...