Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I use:

retVal = Shell("program.EXE " & filename, vbNormalFocus)

To execute a program need for my excel spreadsheet.

Is it possible to embed the EXE file in the excel file itself?

And how would I execute it then?

share|improve this question
    
Why not create a hyperlink to the exe file? –  Sandeep Bansal Nov 28 '11 at 11:25
    
@ Sandeep Keep it all in one simple xls file –  Diga Nov 28 '11 at 12:12
1  
that sounds like a potential massive security risk, were it possible –  Journeyman Geek Nov 28 '11 at 12:42
    
I think it is always possible (maybe not easy), somekind of bin2str function and the oposite should do the trick –  Diga Nov 28 '11 at 12:46
1  
i mean embedding executables into a non executable file format –  Journeyman Geek Nov 29 '11 at 1:44
show 1 more comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.