Sumeluar
Active Member
- Joined
- Jun 21, 2006
- Messages
- 274
- Office Version
- 365
- 2016
- 2010
- Platform
- Windows
- MacOS
- Mobile
Good day to all.
I have the below code that embeds a PDF document of my choice and changes the icon as per indicated path, up to there is all good. What I need assistance with is two things, one to have a popup message asking me to enter the desired name and to change the embedded document properties by making it transparent and without borders.
#
Sub InsertPDF()
Dim ChangeIcon As String, fullFileName As String
ChangeIcon = "E:\Icons\Reader.ico"
ActiveSheet.OLEObjects.Add(Filename:=Application.GetOpenFilename, _
Link:=False, _
DisplayAsIcon:=True, _
IconFileName:=ChangeIcon, _
IconIndex:=0, _
IconLabel:="Embeded Doc.").Select
End Sub
#
All ideas are greatly appreciated, thank you all before hand.
Warm regards, Sumeluar.
I have the below code that embeds a PDF document of my choice and changes the icon as per indicated path, up to there is all good. What I need assistance with is two things, one to have a popup message asking me to enter the desired name and to change the embedded document properties by making it transparent and without borders.
#
Sub InsertPDF()
Dim ChangeIcon As String, fullFileName As String
ChangeIcon = "E:\Icons\Reader.ico"
ActiveSheet.OLEObjects.Add(Filename:=Application.GetOpenFilename, _
Link:=False, _
DisplayAsIcon:=True, _
IconFileName:=ChangeIcon, _
IconIndex:=0, _
IconLabel:="Embeded Doc.").Select
End Sub
#
All ideas are greatly appreciated, thank you all before hand.
Warm regards, Sumeluar.