PC Review


Reply
Thread Tools Rate Thread

Creating Macros at runtime

 
 
Rob Edwards
Guest
Posts: n/a
 
      23rd Nov 2006
Hi,
I have a macro that creates a seperate workbook from info
provided. This is saved as a different filename each time. No problem
here!

What I want to do is "attach" some simple macros (i.e. sort etc) to
the this newly created workbook. Can I either create a new macro from a
source one or alternatively just simply copy an existing macro to a new
workbook?

Please advise.

Rob Edwards.

Always look on the bright side of life!

*** Sent via Developersdex http://www.developersdex.com ***
 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      23rd Nov 2006
I would create the new workbook from a template workbook that already has
the code in it.

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"Rob Edwards" <(E-Mail Removed)> wrote in message
news:uQTG$(E-Mail Removed)...
> Hi,
> I have a macro that creates a seperate workbook from info
> provided. This is saved as a different filename each time. No problem
> here!
>
> What I want to do is "attach" some simple macros (i.e. sort etc) to
> the this newly created workbook. Can I either create a new macro from a
> source one or alternatively just simply copy an existing macro to a new
> workbook?
>
> Please advise.
>
> Rob Edwards.
>
> Always look on the bright side of life!
>
> *** Sent via Developersdex http://www.developersdex.com ***



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
C# 3.0 runtime macros and log4net Arto Viitanen Microsoft C# .NET 5 31st Jan 2008 06:15 AM
Loading Macros at Runtime =?Utf-8?B?UmpTLCBDSVNTUCwgQ0lTQQ==?= Microsoft Excel Programming 1 19th Oct 2006 04:36 PM
autokeys macros and runtime app =?Utf-8?B?TnVnaW1hYw==?= Microsoft Access 2 13th May 2006 01:15 PM
creating runtime tabpages with runtime controls C# Elp Microsoft C# .NET 1 16th Jul 2004 04:38 PM
Macros with runtime Rick Microsoft Access Macros 5 18th Jun 2004 11:10 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:17 AM.