Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Help with user form - selecting more than 1 file to process


Hi EF,

Well, i've spent a month now doing a macro, and very happy with it -
it works!

Basically it opens up a "Select file" box, you choose the file, then it
runs 200+ lines of macro on it.

But i want to see if i can make it a bit more user friendly, by using a
userform and allowing the user to select more than 1 file - queue them
up perhaps, then run the main macro on them, one by one.

Not necessarily needing a userform, i'm not sure, but a bit lost on
what to do next.

Any help would be great, thank you!


--
drucey
------------------------------------------------------------------------
drucey's Profile: http://www.excelforum.com/member.php...o&userid=32553
View this thread: http://www.excelforum.com/showthread...hreadid=540190

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,092
Default Help with user form - selecting more than 1 file to process

Ron de Bruin has some code that may help you get started on this.
http://www.rondebruin.nl/ado.htm#files

Mike F
"drucey" wrote in
message ...

Hi EF,

Well, i've spent a month now doing a macro, and very happy with it -
it works!

Basically it opens up a "Select file" box, you choose the file, then it
runs 200+ lines of macro on it.

But i want to see if i can make it a bit more user friendly, by using a
userform and allowing the user to select more than 1 file - queue them
up perhaps, then run the main macro on them, one by one.

Not necessarily needing a userform, i'm not sure, but a bit lost on
what to do next.

Any help would be great, thank you!


--
drucey
------------------------------------------------------------------------
drucey's Profile:
http://www.excelforum.com/member.php...o&userid=32553
View this thread: http://www.excelforum.com/showthread...hreadid=540190



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Help with user form - selecting more than 1 file to process


Thank you for your reply!

Trying to adapt it to my own needs, but struggling quite a bit!

Anyone suggest where i should put in to run my macro?

Some of the macro does rely on knowing what the open file is called.
(I've included the macro so you can see)

Thank you in advance

+-------------------------------------------------------------------
|Filename: macro.txt
|Download: http://www.excelforum.com/attachment.php?postid=4739
+-------------------------------------------------------------------

--
druce
-----------------------------------------------------------------------
drucey's Profile: http://www.excelforum.com/member.php...fo&userid=3255
View this thread: http://www.excelforum.com/showthread.php?threadid=54019

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
Adding text file to a user form? Chip[_3_] Excel Programming 12 July 29th 05 08:18 AM
link to pdf file & menu bar in user form Fendic Excel Programming 2 June 2nd 05 08:31 PM
User form in copy of original file Jennifer Excel Programming 3 April 17th 05 05:56 PM
How to input file name in user form Boris Pelakh Excel Programming 1 November 7th 04 07:56 PM
Automatically including the Form and Code in all the user file ssexcel[_5_] Excel Programming 3 November 13th 03 07:33 AM


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