LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 295
Default PROBLEM OPENING FOLDERS (AAAARRRRGGGGHHH !)

Hi there, I've been working with Gord Dibben on a very strange problem with
folder openings. Gord's fixes solved the initial problem, but now there is a
new set of problems, and Gord is out of ideas (not surprising, because it's
very, very wierd).

I need to briefly explain my folder hierarchy:
On C drive there is a folder "1. ACTIVE CLIENTS"
within that there are many client folders
within each of them, there may or may not be subfolders.

Also, I have my main workbook called "TOOLS" which is always open, and it
has a sheet that has a whole bunch of text boxes with hyperlinks on it so I
can open any folder I need easily. Hyperlinks being the sensitive little
critters that they are, I have created a macro that recreates them (necessary
because when Excel 2003 crashes - which it does ALL the time, the hyperlinks
get changed and I have to recreate them).

So now there are three different things happening:
1. Via a macro, if I create the hyperlink to a client folder using "../1.
ACTIVE
CLIENTS/Dibben, G" the "Dibben, G" folder opens perfectly, but when I open
any sub folder it says the path does not exist or is not a directory.

2. Via a macro, if I create the hyperlink to a client folder using "C:\1.
ACTIVE
CLIENTS/Dibben, G" the "Dibben, G" folder gets a virus warning, but
subfolders open perfectly. There are no "confirm open" boxes checked in
folder options for File Folders or Folders.

3. (and the strangest of all) The hyperlink to "1. ACTIVE CLIENTS" uses (and
has always used) "../1. ACTIVE CLIENTS". It opens perfectly, and when I go
into a client folder, they open perfectly, as do the client subfolders.

This whole fiasco came about because of a new routine in a different place
(but using identical code), where I was trying to create an individual Client
folder in ACTIVE CLIENTS. When I used the "../1. ACTIVE CLIENTS" code there
it always added "../1. ACTIVE CLIENTS/1. ACTIVE CLIENTS\Dibben, G" and so of
course could not find the folder because of the double /1. ACTIVE CLIENTS in
the path. That's why I reverted to "C:\1. ACTIVE CLIENTS" BUT ONLY IN THIS
NEW PIECE OF CODE, AND THIS IS WHEN I FIRST STARTED TO GET THE VIRUS WARNINGS.

So what do you think might be going on? Or are you now as befuddled as Gord
and I are? Regards, Brett.


 
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 files and folders with details Darlene Excel Discussion (Misc queries) 3 October 11th 09 09:23 PM
opening folders within a folder JT Excel Programming 1 July 25th 07 03:13 PM
Opening files in folders and subfolders bestie22 Excel Discussion (Misc queries) 1 September 19th 06 05:23 PM
Opening Files/Folders animalfriend7 Excel Discussion (Misc queries) 2 June 23rd 05 11:57 PM
excel VBA problem - setting workbook as variable & opening/re-opening safe Excel Programming 1 August 20th 04 12:22 AM


All times are GMT +1. The time now is 10:40 AM.

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"