LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
tg tg is offline
external usenet poster
 
Posts: 58
Default macro to create a new workbook/ macro to copy columns

Hello,

I hope you guys can help me =)

I need a macro that once I press a button(Button1) (from developer's tab)
that I will be inserting to the worksheet, will create a new workbook with
the static name of "book1". I then need another button(Button2) with another
macro to copy columns 'A', 'C', 'D' and "O" from a sheet called "BOM" ( I
will have the buttons in a sheet called "Main" but need it to copy the data
from "BOM" as mentioned above). Now, Button2 will copy A C D O column to a
tab in the new WB and I want the new tab's name to be the name that is
located in "A15" in the "Main" WS. Now, once this is all done the user has
the ability to change things around in the "main" sheet that will change the
"BOM" sheet, I would like to have the ability to press Button 2 again and
have the new data in the "BOM" (ACDO) be entered in a new tab in the newly
created workbook and this could be done multiple times (as many as necessary).

Important Note: I need to only copy the values, I do not need the format and
i dont want the formulas Just Plain old Values..

Thank you very much and I hope you guys can help me out here,

TG
 
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
Macro to copy and paste values (columns)I have a macro file built C02C04 Excel Programming 2 May 2nd 08 01:51 PM
Create a macro to copy data from one workbook to another uha Excel Discussion (Misc queries) 1 November 5th 07 10:29 PM
create a macro to delete columns and then border remaining columns Jane777 Excel Programming 1 July 18th 07 12:08 AM
Using a macro to create a macro in another workbook Gizmo63 Excel Worksheet Functions 2 May 15th 06 09:48 AM
how to create a macro that runs other macro in the same workbook VB Script for Excel Excel Programming 4 March 23rd 06 03:53 AM


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

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"