![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Apr 2002
Posts: 5
|
Help !
I need to put the last saved date of Workbook A into a cell in Workbook B. Any ideas ? I've been stuck for days !!!!!! |
|
|
|
|
|
#2 |
|
New Member
Join Date: Mar 2002
Posts: 48
|
You could add a simple macro to file
B Sub test() Range("a1").Value = Format(FileDateTime("C:test.txt"), "mm/dd/yyyy h:mm AM/PM") End Sub Range("a1").Value - replace with the range in file B where you want the save date to go ("C:test.txt") - replace with address of file A Hope this helps |
|
|
|
|
|
#3 |
|
New Member
Join Date: Apr 2002
Posts: 5
|
Works like a dream !!!!
Thanks for your help !!!! |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|