Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 57
Default Excel vs Lotus [pop-up screen with directories]

I'm not sure how to explain my problem. It took some time to convince a
friend to take the step to use Excel and convert his Lotus data files. He's
about 90% there (unbelievable but true!). He uses a network at his workplace
[drive k:\] where the files are stored in various directories [6 major
elements] and subdirectories [12 branches and for each year]. His laptop is
updatedand, when not connected to the network, he runs a DOS(!!) program
which enables him to run the k-drive files on the laptop. A pop-up screen
appears with Lotus icons [major directories] if
double-clicked another pop-up screen appears with the sub-directories and if
selected opens the specific file. He calls this his file organizer and
challenged me that its not possible with Excel. I told him that I don't know
how, but I know some guys out there [which is you!!]
For what it's worth -The DOS file reads: SUBST K:/D SUBST K:C:\
Any form of assistance would be much appreciated.

--
HJN
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Excel vs Lotus [pop-up screen with directories]

Excel VBA can run BAT files with the following command

Shell ("C:\temp\abc.bat")

The commands SUBST K:/D SUBST K:C:\ are batch commands that can be put into
a .BAT file using Notepad. The you can run the BAT file using the Shell
Command.


"Hennie Neuhoff" wrote:

I'm not sure how to explain my problem. It took some time to convince a
friend to take the step to use Excel and convert his Lotus data files. He's
about 90% there (unbelievable but true!). He uses a network at his workplace
[drive k:\] where the files are stored in various directories [6 major
elements] and subdirectories [12 branches and for each year]. His laptop is
updatedand, when not connected to the network, he runs a DOS(!!) program
which enables him to run the k-drive files on the laptop. A pop-up screen
appears with Lotus icons [major directories] if
double-clicked another pop-up screen appears with the sub-directories and if
selected opens the specific file. He calls this his file organizer and
challenged me that its not possible with Excel. I told him that I don't know
how, but I know some guys out there [which is you!!]
For what it's worth -The DOS file reads: SUBST K:/D SUBST K:C:\
Any form of assistance would be much appreciated.

--
HJN

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 57
Default Excel vs Lotus [pop-up screen with directories]

Joel Tks very much! This will solve the drive problem. Any Ideas on the
pop-up screen that he gets with the Lotus files?
--
HJN


"Joel" wrote:

Excel VBA can run BAT files with the following command

Shell ("C:\temp\abc.bat")

The commands SUBST K:/D SUBST K:C:\ are batch commands that can be put into
a .BAT file using Notepad. The you can run the BAT file using the Shell
Command.


"Hennie Neuhoff" wrote:

I'm not sure how to explain my problem. It took some time to convince a
friend to take the step to use Excel and convert his Lotus data files. He's
about 90% there (unbelievable but true!). He uses a network at his workplace
[drive k:\] where the files are stored in various directories [6 major
elements] and subdirectories [12 branches and for each year]. His laptop is
updatedand, when not connected to the network, he runs a DOS(!!) program
which enables him to run the k-drive files on the laptop. A pop-up screen
appears with Lotus icons [major directories] if
double-clicked another pop-up screen appears with the sub-directories and if
selected opens the specific file. He calls this his file organizer and
challenged me that its not possible with Excel. I told him that I don't know
how, but I know some guys out there [which is you!!]
For what it's worth -The DOS file reads: SUBST K:/D SUBST K:C:\
Any form of assistance would be much appreciated.

--
HJN

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Excel vs Lotus [pop-up screen with directories]

Use this code to select folders

'Create a FileDialog object as a File Picker dialog box.
Set fd = Application.FileDialog(msoFileDialogFolderPicker)
With fd
.Title = "Select Folder"

If .Show < -1 Then
MsgBox "No files found-make sure you have saved your" & _
"files in the correct location"
Exit Sub
End If
folder = fd.InitialFileName

End With

"Hennie Neuhoff" wrote:

Joel Tks very much! This will solve the drive problem. Any Ideas on the
pop-up screen that he gets with the Lotus files?
--
HJN


"Joel" wrote:

Excel VBA can run BAT files with the following command

Shell ("C:\temp\abc.bat")

The commands SUBST K:/D SUBST K:C:\ are batch commands that can be put into
a .BAT file using Notepad. The you can run the BAT file using the Shell
Command.


"Hennie Neuhoff" wrote:

I'm not sure how to explain my problem. It took some time to convince a
friend to take the step to use Excel and convert his Lotus data files. He's
about 90% there (unbelievable but true!). He uses a network at his workplace
[drive k:\] where the files are stored in various directories [6 major
elements] and subdirectories [12 branches and for each year]. His laptop is
updatedand, when not connected to the network, he runs a DOS(!!) program
which enables him to run the k-drive files on the laptop. A pop-up screen
appears with Lotus icons [major directories] if
double-clicked another pop-up screen appears with the sub-directories and if
selected opens the specific file. He calls this his file organizer and
challenged me that its not possible with Excel. I told him that I don't know
how, but I know some guys out there [which is you!!]
For what it's worth -The DOS file reads: SUBST K:/D SUBST K:C:\
Any form of assistance would be much appreciated.

--
HJN

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
Opening Excel-files in several directories Dutch76[_2_] Excel Programming 2 February 20th 07 04:42 PM
Excel macro to create directories? TomK Excel Programming 3 November 2nd 06 04:02 PM
Creating directories from excel Jean-Yves[_2_] Excel Programming 1 August 27th 04 05:22 PM
Excel VBA - Creating Directories th1chsn Excel Programming 3 August 26th 04 06:00 PM
How to copy data from excel to power point screen by screen? luvgreen[_3_] Excel Programming 0 April 9th 04 03:51 PM


All times are GMT +1. The time now is 11:52 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"