473,387 Members | 1,520 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Show on Access form the last modified date of an Excel workbook

***From previous post***
Is it possible to have an Access form that displays in a text box the
last modified date of c:\myworkbook.xls?

try setting the data property of the text box to ...
= FileDateTime("c:\myworkbook.xls")
My Question

FileDateTime works great for me, but the database I put it in is on a
shared drive.

When other people try to use the database they will get an error on
startup of bad expression on the filedatetime. and they are unable to
use the database.

we set the security to everyone full rights and did not help
unsure the issue

Aug 30 '06 #1
2 3618
....leave the record source blank ...in code check to see if the file exists
first ...if it does, enable the text box, make it visible, and set its
record source.

....hth

William Hindman

<li****@charter.netwrote in message
news:11**********************@74g2000cwt.googlegro ups.com...
***From previous post***
Is it possible to have an Access form that displays in a text box the
last modified date of c:\myworkbook.xls?

try setting the data property of the text box to ...
= FileDateTime("c:\myworkbook.xls")
My Question

FileDateTime works great for me, but the database I put it in is on a
shared drive.

When other people try to use the database they will get an error on
startup of bad expression on the filedatetime. and they are unable to
use the database.

we set the security to everyone full rights and did not help
unsure the issue

Aug 30 '06 #2
Maybe the file can not be found ??

When I understand you correctly it means that you are using a shared FE??
This is a BAD idea!!
This has been told here like every day or so ...

Maybe only put the xls-file on a shared drive ??
Maybe use UNC-Naming ??

Arno R
<li****@charter.netschreef in bericht news:11**********************@74g2000cwt.googlegro ups.com...
***From previous post***
Is it possible to have an Access form that displays in a text box the
last modified date of c:\myworkbook.xls?

try setting the data property of the text box to ...
= FileDateTime("c:\myworkbook.xls")
My Question

FileDateTime works great for me, but the database I put it in is on a
shared drive.

When other people try to use the database they will get an error on
startup of bad expression on the filedatetime. and they are unable to
use the database.

we set the security to everyone full rights and did not help
unsure the issue
Aug 30 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: ImraneA | last post by:
Hi there Many thanks to those people who contributed to this group, helped me greatly. Enclose, my code, hope it helps others :- Public Function Export_Excel_9(tbx1 As Variant, tbx2 As...
7
by: Darren | last post by:
I have been attempting to create a reservation planning form in excel that imports Data from an Access database and inserts that information automaticly into the correct spreed sheet and the...
1
by: Rocky A | last post by:
I need to open an excel workbook and import info to my access program. That isn't the problem, I've got the code down for doing what I want to do. I'm declaring the variable and setting it like...
3
by: James Wong | last post by:
Dear all, I have an old VB6 application which can create and access Excel object. The basic definition statements are as follows: Dim appExcel As Object Dim wkb1 As Excel.Workbook Dim wks1...
9
by: pic078 via AccessMonster.com | last post by:
I need serious help - I have a frontend/backend Access database (2 MDE Files) that remains stuck in task manager after exiting the application - you can't reopen database after exiting as a result...
1
by: CoolFactor | last post by:
MY CODE IS NEAR THE BOTTOM I want to export this Access query into Excel using a command button on an Access form in the following way I describe below. Below you will find the simple query I am...
1
by: cloh | last post by:
I have a form in Access that generates an Excel Workbook with multiple worksheets. Each worksheet is unique to a particular location. The top row of each sheet shows the dates, the left-most column...
14
by: fkbodley | last post by:
I am trying to upload a filtered form to excel. Using code someone posted to me I tried to make this work. But like all great code for a newbee.. IT DOSENT WORK! Can some one help me out. Code:...
1
by: JFKJr | last post by:
Hello everyone, the following Access VBA code opens an excel file and creates textboxes in a given range of cells dynamically. The code attaches "MouseUP" and "Exit" events to the textboxes (using...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.