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: 1,090
Default Code failure with different partitions

Excel XP & 2003, Win XP
I'm helping an OP with some code and I have run into a problem that I have
not seen before. The code involves a FOR loop through all the files in a
sub folder to the ThisWorkbook.Path folder. The path line of code looks
like:
ThePath=ThisWorkbook.Path & "\OtherFolder"
The code works just fine on my computer and fine on his computer except when
partitions come into play.
I have just 1 partition on my hard drive. He has C, D, E, F.
All of his programs, including Excel, are on the D partition. All of his
files, including ThisWorkbook and "OtherFolder" are on the C partition.
The code will not work correctly on his computer every time. Sometimes the
code cannot find a file, other times it can. I don't see any difference in
his operation than mine except for the partitions.
Question: Does anyone know of problems with having a setup like his?
Thanks for your time. Otto


 
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
Mouse scroll failure when looking at code Emerogork via OfficeKB.com Excel Worksheet Functions 4 August 31st 07 10:31 PM
Partitions in Short Cut menues ZipCurs Excel Programming 2 June 18th 07 03:20 PM
External Data Failure VBA Code Craig B Excel Programming 1 June 7th 07 02:39 PM
code failure dreamz[_45_] Excel Programming 1 June 7th 06 08:42 PM
VBA Code Reference to Solver Failure ! monir Excel Programming 3 April 30th 06 04:49 AM


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