Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FoxPro and Excel
Message
 
 
To
15/06/2001 11:09:02
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00519913
Message ID:
00519990
Views:
15
>do you know of a method that will assist in naming a file name with the folloiwng convention:
>mmddyy(any 1 character)
>
>and if the filename is already exists, then it is safe to assume that it's another file for that day and teh filename shoudl be
>
>mmddyy2

You could name the file: 'D' + dtos(date()) + '_T' + chrtran(time(), ':', '') + '.csv'

>thanks for the tip on the csv.
>
>the line that is making the 1st worksheet the active worksheet, is that correct?

No. Go back and look at the code I posted.

loActiveSheet = loBook.Sheets(1)
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform