Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Exporting dates to a path

I'm trying to setup a spreadsheet so that when someone enters a date in the
first field, it exports the month and year to another field containing a path
to data from another spreadsheet.

For example, if the path is C:/excel/09_2006/filename.xls, how can I set
this up so when you type in the date of 10/1/2006 it updates the path called
for to C:/excel/10_2006/filename.xls?

Thanks for any advice
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Exporting dates to a path

assuming that the path is a text string as a reference, try
="C:/excel/"&MONTH(A8)&"_"&YEAR(A8)&"/filename.xls" where A* is the date.
Remember, this will not update the actual path, only the reference in a field.

"phxwsd" wrote:

I'm trying to setup a spreadsheet so that when someone enters a date in the
first field, it exports the month and year to another field containing a path
to data from another spreadsheet.

For example, if the path is C:/excel/09_2006/filename.xls, how can I set
this up so when you type in the date of 10/1/2006 it updates the path called
for to C:/excel/10_2006/filename.xls?

Thanks for any advice

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
formula to add dates. S S Excel Worksheet Functions 8 April 5th 06 07:53 PM
Calculating number of days between two dates that fall between two other dates [email protected] Excel Discussion (Misc queries) 5 October 26th 05 06:18 PM
Automatic shading of cells based on dates??? Pedros Excel Worksheet Functions 3 October 20th 05 12:35 AM
Exporting pre-1900 dates to Access? Jim J. Excel Discussion (Misc queries) 2 September 19th 05 06:59 PM
2 digit year in dates return 19xx not 20xx moranbo Excel Discussion (Misc queries) 1 September 7th 05 01:44 AM


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