LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ray Ray is offline
external usenet poster
 
Posts: 267
Default Odd Workbook.Name result

Hello -

What would cause Workbook.Name to return an 'odd' result, partially
representing the file name, but not completely? Read on for more
details ...

My stores use a template to create daily Cash Reconciliation files,
which are then submitted automatically to a specified network drive.
Once a week, they need update a consolidation workbook, which uses a
procedure to open each available CashRec and pull out some data.

With all stores, this works find and has for many months -- all stores
use the same CashRec template and consolidation template ... they
simply enter their own store # to drive the submit and consolidate
procedures.

One store recently developed a problem whereby their consolidation
report won't update properly. Using the Watch window, I was able to
identify that when the consolidation procedure opens the daily files,
somehow the name changes just a little! When I open the same file
manually (using Windows Explorer), the name is fine ... for example,
if I open Store145's file for July 23:
should open as: 1452311.xls (workbook.name the same)
procedure opens as: 14523118 (no .xls at the end)

Why would this happen? As a test, I took the same consolidation
workbook and changed the store # ... it worked fine. So, it would
seem that the problem is with the daily files ... but NO other stores
are having an issue. Has some property been changed or ???

Please help ...

Thanks, ray
 
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
Copy Autofilter Source Workbook A result in Destination Workbook BSheet1 u473 Excel Programming 1 September 9th 08 05:14 PM
HELP: Use the autofilter result on one workbook to filter the next list on another workbook Kathy Houtami Excel Programming 5 September 12th 07 01:15 AM
HELP: Use the autofilter result on one workbook to filter the next list on another workbook Kathy Houtami Excel Worksheet Functions 6 September 11th 07 05:29 AM
Look up 2 values, return result in a different workbook Positive Excel Worksheet Functions 12 July 2nd 07 07:28 PM
Sum data in workbook 1 and write result in workbook 2 Martin[_28_] Excel Programming 1 May 7th 06 02:48 PM


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