Can I tell if a cell is being edited?

MOB

Well-known Member
Joined
Oct 18, 2005
Messages
1,061
Office Version
  1. 365
Platform
  1. Windows
My client's accounting system has an Excel link to upload transactions using OLE. Generally works well, but I have one really annoying issue!!

The concept is that a cell (eg B1) has a custom formula in it which contains the entries to be transferred across. Typing "Yes" in upload cell A1 sends the data into the accounting system. Typing "No" into upload cell A1 disables the OLE system.

If you typed Yes into cell A1, and forgot to then change it to No, each time you edit any cell in Excel, it will transfer the entry repeatedly.

My issue is that I am typing Yes, then immediately typing No, and in some instances it is repeatedly (2-4 times) transferring the data.

I have been advised that "if the Upload cell is set to YES, then every time you edit ANY CELL in the spreadsheet it will upload another NOM".

So my question is, what could be happening between typing yes and no in the upload cell that could be construed as editing? It is literally a couple of seconds between Yes/No but obviously something is happening!

We use this functionality on other spreadsheets and do NOT have this issue there.

Any pointers or tips would be much appreciated!

TIA
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Wild guess - do you have any volatile functions in that workbook, such as OFFSET, INDIRECT, TODAY, NOW?
 
Upvote 0
mmmmmmmm............I use a LOT of INDIRECT formula on that spreadsheet, but not on the "ok" spreadsheets....................bingo!

What should I do ????? :-)

Bear in mind I use these INDIRECTS, understand the formulae but I don't have the in depth understanding that you guys have of what happens "behind the scenes"!
 
Upvote 0
INDIRECT is volatile so it will recalculate whenever you change anything. It may be that that is causing your problem, it may not.
 
Upvote 0
I shall remove them and report back...........thanks
 
Upvote 0
Just to confirm, removing the INDIRECT formulae resolved my issue entirely.

Many thanks for your help, much appreciated!
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top