Excel Help: Userforms

Posted by B-Ballerl on Super User See other posts from Super User or by B-Ballerl
Published on 2011-06-28T23:32:10Z Indexed on 2011/06/29 0:24 UTC
Read the original article Hit count: 538

Filed under:
|
|
|

I have developed a macro that does a whole bunch of things for me based on a few things. (Importing files).

The file names are dated dd_mm_yyyy and right now I enter them into a sheet where the macro can call the information. Not really wanting this I designed a userform where the user could enter the "dd", "mm", "yyyy" and how many consecutive days of files there were.

Ex. Say

28_06_2011.txt

29_06_2011.txt

there would be one consecutive day.

I want to be able to call the information entered in the user-form (day, month, year, and consecutive days) to use in the macro and have been unsuccessful because I don't know how to call that information. Is it similar to referring to a range in a worksheet?

Thanks in Advance for any Help.

The Userform I designed

© Super User or respective owner

Related posts about microsoft-excel

Related posts about macros