LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,514
Default can i use VBA in one XLS file to change VBA in another?

One way to do this is to isolate the things that can change regularly
like the year number and build the filenames and headings up from
that. If you only have to make a single change of year number then
the scope for parts getting out of sync is much reduced.

Why can't you just send them a corrected version?

Or a patch file to alter just the latest differences (old school
method from the days when updates had to go down a dialup modem).

You can use VBA in one project to alter the code in another or to add
code to a newly created workbook but you would need to test it very
carefully to make sure it does exactly what you want.


This is precisely why I recommend converting the project to an addin
and using a template workbook for subsequent years. Both are, as you
would well know, easily maintainable for updates/revisions over time!

--
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion


 
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
How to change closed file name - Error: file not found PGM Excel Programming 5 April 18th 06 02:07 PM
2 users open same file and both can edit/change the file RANDY Excel Discussion (Misc queries) 1 January 24th 06 04:06 PM
How do I change *.CSV excel file to column seperated file? Pankaj Excel Discussion (Misc queries) 2 July 5th 05 07:35 PM
How to change a MS Word file to an Excel file Sameera Excel Worksheet Functions 1 June 28th 05 08:57 PM
How do I change file/open/"files of type" to default to "all file. How do I changefiles of type default Excel Discussion (Misc queries) 1 April 19th 05 10:45 PM


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