Running Macro On all Files In Folder

This is a discussion on Running Macro On all Files In Folder within the Spreadsheets forums in Other Technologies category; I have a macro that i originally created within an excel spreadsheet. I would like to store it within the personal macro workbook in visual basic editor so that i can run it on multiple files. What I am hoping is for someone to help me write something so that i can run the macro on all files within a folder on my desktop. I am having trouble with the code, since im quite the novice. So i would need the macro to open a file within the specified folder, then run the macro that i have written, and save ...

Go Back   Database Forum > Other Technologies > Spreadsheets

Database Forums

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 02-21-2008, 04:12 PM
Default Running Macro On all Files In Folder

I have a macro that i originally created within an excel spreadsheet.
I would like to store it within the personal macro workbook in visual
basic editor so that i can run it on multiple files.

What I am hoping is for someone to help me write something so that i
can run the macro on all files within a folder on my desktop. I am
having trouble with the code, since im quite the novice.

So i would need the macro to open a file within the specified folder,
then run the macro that i have written, and save the file within
another folder on the desktop.

So i need help with the running on all files in a folder and also
saving the file as. I am having trouble making this macro because it
isn't referring to a specific file. Any help would be very very much
appreciated!!! Thank you!!
Reply With Quote
Reply


Thread Tools
Display Modes



All times are GMT -4. The time now is 05:14 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Integrated by bbpixel2008 :: jvbPlugin R1013.368.1

Search Engine Friendly URLs by vBSEO 3.1.0
vB Ad Management by =RedTyger=
In an effort to better serve ads to our visitors, cookies are used on Mydatabasesupport.com. For more information, check out our Privacy Policy.