View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
NickHK NickHK is offline
external usenet poster
 
Posts: 4,391
Default Generating an Excel document with a Macro

Barry,
http://www.cpearson.com/excel/vbe.htm

NickHK

wrote in message
oups.com...
Hi,

I'm generating an excel program using VB from an Access Document. What
I'd like to have also is a macro in the generated excel document which
is incerted into this document via the access code. For example,
supose my access document generates an excel document with a single
contol button on it. When you click on this button, the current time
is then copied to a cell via the macro. How do I do this?

Thanks for your help,

Barry.