Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default Macros common to several workbooks

I am new to vba. I have a workbook which is basically a csv file with data
from a financial system. I need to manipulate this data but before I do, I
need to clean up the data. I have created macros to do this. I then use the
`clean` workbook to produce reports which are also excel based workbooks.
The contents of the csv file changes every day because I download from the
financial system on a daily basis. I need somewhere else to keep the macros
so that they are stored away this workbook. I also need to be able to invoke
the macros from a menu or something similar. The reports I produce also need
some of these macros so I need to be able to handle things like the path in a
macro, is it possible to have a macro that sets a path for all these
workbooks. Thank you for any help.


--
Jayen
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,081
Default Macros common to several workbooks

Record a simple macro - say changing the Font size. In the Recording
options. tell Excel to save it in your Personal Macro Workbook. Excel will
now CREATE that workbook.

In the VBA editor, copy and paste your macros to that Personal.xls file and
save. They;ll be available to ANY file whenever you start Excel



"Jayen" wrote:

I am new to vba. I have a workbook which is basically a csv file with data
from a financial system. I need to manipulate this data but before I do, I
need to clean up the data. I have created macros to do this. I then use the
`clean` workbook to produce reports which are also excel based workbooks.
The contents of the csv file changes every day because I download from the
financial system on a daily basis. I need somewhere else to keep the macros
so that they are stored away this workbook. I also need to be able to invoke
the macros from a menu or something similar. The reports I produce also need
some of these macros so I need to be able to handle things like the path in a
macro, is it possible to have a macro that sets a path for all these
workbooks. Thank you for any help.


--
Jayen

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 622
Default Macros common to several workbooks

And you can assign them to toolbar buttons or make new menu items for
them under Customize.
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
Common footer but not common margins please -(Page 1 of 2) etc RajenRajput1 Excel Discussion (Misc queries) 9 August 26th 08 06:56 PM
Running macros with protect workbooks Duderino Excel Discussion (Misc queries) 1 April 18th 07 06:56 PM
Cascading macros to new workbooks Phil N Dank Excel Worksheet Functions 3 November 13th 06 04:45 PM
Making Macros Available in All Workbooks QUESTION-MARK Excel Worksheet Functions 2 May 23rd 06 01:47 PM
Excel: how to merge data from 2 workbooks with 1 col. in common? Cesare Excel Discussion (Misc queries) 2 June 24th 05 11:14 PM


All times are GMT +1. The time now is 01:51 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"