Embedding code withing Excel macros

  • Thread starter Thread starter Jenney_g
  • Start date Start date
J

Jenney_g

Hello,

I am looking for a way to embed or insert an small executable program or
code within an Excel macro so that I could extract the payload from the
spreadsheet on another system later on. I have a little experience
writing VBA scripts for Excel but I know no way of doing this - can
anyone help?

Thanks,

Jennifer G
 
there a some different approaches to that, depending from your little
program.
What does this little programm do? Which language was used writing it?
and what do mean with "payload of the sheet?

kalle
 
Hi kalle,

The embedded payload will be C code or the executable of the C code.
The C program that I wrote checks on the overall security setup of Excel
on the system. By payload of the sheet, I mean to say, if there is
embedded C code or executable in my macro, how do I then extract it to
run it later?

Thanks,

Jennifer
 
Hi Jenney_g,
The embedded payload will be C code or the executable of the C code.
The C program that I wrote checks on the overall security setup of Excel
on the system. By payload of the sheet, I mean to say, if there is
embedded C code or executable in my macro, how do I then extract it to
run it later?

Just out of interest, how does that differ from a virus?

Regards

Stephen Bullen
Microsoft MVP - Excel
www.BMSLtd.ie
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top