Abhishek1988
New Member
- Joined
- Oct 22, 2018
- Messages
- 27
Hi Everyone,
I have one code which will browse document from provide path:
Code:
Sub Button1_Click()
Worksheets("Sheet1").OLEObjects.Add Filename:="XXX", Link:=False, DisplayAsIcon:=False, Left:=40, Top:=40, Width:=150, Height:=10
End Sub
My expectation:
1. Filename should be based on the case value. Example if i put complete path in A1 in same sheet then it should pickup from there.
2. Above code is extracting file in big format however i need the same in embed.
Please help me in above points.
Thanks
Rahul Aggarwal
I have one code which will browse document from provide path:
Code:
Sub Button1_Click()
Worksheets("Sheet1").OLEObjects.Add Filename:="XXX", Link:=False, DisplayAsIcon:=False, Left:=40, Top:=40, Width:=150, Height:=10
End Sub
My expectation:
1. Filename should be based on the case value. Example if i put complete path in A1 in same sheet then it should pickup from there.
2. Above code is extracting file in big format however i need the same in embed.
Please help me in above points.
Thanks
Rahul Aggarwal