Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Have a Macro create a Macro

How do you create a VBA Macro to create a VBA Macro

When I run my Macro I want it to insert a button on a spreadsheet

Then insert code linked to that button which links to a Form

Insert a Form

Edit Form so it has appropriate buttons

Then Insert code into that form

---------------------------------------------

So in essence, my program has a button that will insert another macr
program into any workbook of my choice (that is if I can write th
program

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Have a Macro create a Macro

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

at Chip Pearson's site will give basic information on writing code with
code.

http://j-walk.com/ss/excel/tips/tip76.htm
at John Walkenbach's site shows how to create a form programmatically.

--
Regards,
Tom Ogilvy



"Langy " wrote in message
...
How do you create a VBA Macro to create a VBA Macro

When I run my Macro I want it to insert a button on a spreadsheet

Then insert code linked to that button which links to a Form

Insert a Form

Edit Form so it has appropriate buttons

Then Insert code into that form

---------------------------------------------

So in essence, my program has a button that will insert another macro
program into any workbook of my choice (that is if I can write the
program)


---
Message posted from http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 102
Default Have a Macro create a Macro

Tom Ogilvy wrote:

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

at Chip Pearson's site will give basic information on writing code
with code.


Don't use McAfee VirusScan ASaP if you use Chip's methods.

http://j-walk.com/ss/excel/tips/tip76.htm
at John Walkenbach's site shows how to create a form
programmatically.


--
Amedee Van Gasse using XanaNews 1.16.3.1
If it has an "X" in the name, it must be Linux?
Please don't thank me in advance. Thank me afterwards if it works or
hit me in the face if it doesn't. ;-)
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Create a macro to create excel line graph with coloured pointers anddata lables anuj datta Charts and Charting in Excel 1 September 30th 09 04:04 PM
Can someone create this macro for me Please? Aussiegirlone Excel Discussion (Misc queries) 1 July 25th 09 12:48 PM
Using a macro to create a macro merry_fay Excel Discussion (Misc queries) 1 July 17th 08 02:20 PM
Using a macro to create a macro in another workbook Gizmo63 Excel Worksheet Functions 2 May 15th 06 09:48 AM
Macro to create macro Carl Bowman Excel Discussion (Misc queries) 2 February 6th 05 10:49 AM


All times are GMT +1. The time now is 12:42 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"