PC Review


Reply
Thread Tools Rate Thread

Creating auto-update ability

 
 
S Davis
Guest
Posts: n/a
 
      22nd Jan 2007
Hi there,

I'm trying to create a function/sub that will automatically push data
from an excel sheet out into Access in order to log history of this
specific sheet.

I have everything set up within access including the necessary macro
and linked tables. I am having a problem with the vba code within excel
however.

There are 6 seperate updatable cell ranges in my worksheet that pull
from a seperate workbook. An email is dispatched from this seperate
workbook when any of the 6 is updated on the other end. This can happen
in any order. So what needs to happen is, when all 6 have been updated,
excel needs to open access and run the macro in access that is already
set up.

Its not too difficult sounding. When any cell range is updated, it also
returns a date that it was updated last. So when all dates match the
current date, then access should open. I created a custom function that
looked at these dates and just returned a TRUE/FALSE if they matched or
did not match the current date. The trouble with this is that, once all
are updated and the data is pushed out to access, the custom function
still reads TRUE, and so the process seems to happen endlessly.

I need a way to interrupt this loop somehow. Can someone help me out?
This seems so easy, but I just cant find a way to interrupt it.

Thanks
-SD

 
Reply With Quote
 
 
 
 
S Davis
Guest
Posts: n/a
 
      22nd Jan 2007
Any ideas?


S Davis wrote:
> Hi there,
>
> I'm trying to create a function/sub that will automatically push data
> from an excel sheet out into Access in order to log history of this
> specific sheet.
>
> I have everything set up within access including the necessary macro
> and linked tables. I am having a problem with the vba code within excel
> however.
>
> There are 6 seperate updatable cell ranges in my worksheet that pull
> from a seperate workbook. An email is dispatched from this seperate
> workbook when any of the 6 is updated on the other end. This can happen
> in any order. So what needs to happen is, when all 6 have been updated,
> excel needs to open access and run the macro in access that is already
> set up.
>
> Its not too difficult sounding. When any cell range is updated, it also
> returns a date that it was updated last. So when all dates match the
> current date, then access should open. I created a custom function that
> looked at these dates and just returned a TRUE/FALSE if they matched or
> did not match the current date. The trouble with this is that, once all
> are updated and the data is pushed out to access, the custom function
> still reads TRUE, and so the process seems to happen endlessly.
>
> I need a way to interrupt this loop somehow. Can someone help me out?
> This seems so easy, but I just cant find a way to interrupt it.
>
> Thanks
> -SD


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I have lost the ability to auto Sum... Shane Devenshire Microsoft Excel Worksheet Functions 0 24th Feb 2009 05:22 PM
Auto Filter With Auto Complete Ability Eastar Microsoft Excel Misc 1 26th Dec 2007 08:45 PM
Auto Field Update when creating New Document =?Utf-8?B?QnV0Y2g=?= Microsoft Word Document Management 1 19th Oct 2005 08:59 AM
newbie needs help on creating a auto-update program Danny Ni Microsoft VB .NET 2 22nd Mar 2005 05:43 AM
Help Please: Auto Update is creating problems James Windows XP General 2 14th Oct 2004 11:30 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:52 AM.