Hi,
I have been trying to find a solution to how I can upload a file to a specific coordinate in my Excel sheet. I have so far created an ActiveX Command Button by using the following code:
Private Sub CommandButton1_Click()
Application.Dialogs(xlDialogInsertObject).Show
End Sub
When I hit the button, the file uploads either randomly in the sheet or on the button itself, which becomes a problem when I want to upload many files. Therefore, is there a way I can have the file attached in a certain cell or coordinate in the Excel sheet? And then have the second file attached in another cell/coordinate.. and the third etc.?
Would be great if someone could help me with this!
Thanks
//Henrik
I have been trying to find a solution to how I can upload a file to a specific coordinate in my Excel sheet. I have so far created an ActiveX Command Button by using the following code:
Private Sub CommandButton1_Click()
Application.Dialogs(xlDialogInsertObject).Show
End Sub
When I hit the button, the file uploads either randomly in the sheet or on the button itself, which becomes a problem when I want to upload many files. Therefore, is there a way I can have the file attached in a certain cell or coordinate in the Excel sheet? And then have the second file attached in another cell/coordinate.. and the third etc.?
Would be great if someone could help me with this!
Thanks
//Henrik