Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
clayton
 
Posts: n/a
Default Running a script while editing a cell


I have found that scripts will not execute if you are editing a cell. Is
there anyway around this?


--
clayton
------------------------------------------------------------------------
clayton's Profile: http://www.excelforum.com/member.php...fo&userid=4563
View this thread: http://www.excelforum.com/showthread...hreadid=493669

  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Running a script while editing a cell

I've never seen anyone post any macro that did something useful while in edit
mode.

clayton wrote:

I have found that scripts will not execute if you are editing a cell. Is
there anyway around this?

--
clayton
------------------------------------------------------------------------
clayton's Profile: http://www.excelforum.com/member.php...fo&userid=4563
View this thread: http://www.excelforum.com/showthread...hreadid=493669


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
clayton
 
Posts: n/a
Default Running a script while editing a cell


Maybe I should have elaborated more.
I have a UPS. When the power fails the software will create a dummy
file which my excel file looks for. If the file exists then the saving
of files process will begin.
I have a timer set to check if that file exists. If you are editing a
cell the script can not run. So, if someone left a cell in edit mode
and walked away then the UPS would eventually shutdown windows losing
the data.

I've tried having the script change to a different sheet. I've tried
using sendkeys to send a ~ or {RIGHT} but nothing works because nothing
will execute in edit mode.


--
clayton
------------------------------------------------------------------------
clayton's Profile: http://www.excelforum.com/member.php...fo&userid=4563
View this thread: http://www.excelforum.com/showthread...hreadid=493669

  #4   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Running a script while editing a cell

Did you try sending an escape key in your script? Although, I would get that
would behave much like the enter key.

I don't have a guess...

If you don't get a good response here, you may want to post in one of the
scripting newsgroups.



clayton wrote:

Maybe I should have elaborated more.
I have a UPS. When the power fails the software will create a dummy
file which my excel file looks for. If the file exists then the saving
of files process will begin.
I have a timer set to check if that file exists. If you are editing a
cell the script can not run. So, if someone left a cell in edit mode
and walked away then the UPS would eventually shutdown windows losing
the data.

I've tried having the script change to a different sheet. I've tried
using sendkeys to send a ~ or {RIGHT} but nothing works because nothing
will execute in edit mode.

--
clayton
------------------------------------------------------------------------
clayton's Profile: http://www.excelforum.com/member.php...fo&userid=4563
View this thread: http://www.excelforum.com/showthread...hreadid=493669


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.misc
clayton
 
Posts: n/a
Default Running a script while editing a cell


Thank you for your response Mr. Peterson. You having the status you do
on this forum my hopes have pretty well been dashed now that you say
there isn't anything YOU can think of..

I hope someone will come up with some sort of a solution. This is the
only thing that could really make a mess of my whole project.

Is there some sort of setting in Excel itself that disallows script
running while in edit mode? Its a long shot but at this point I am
grasping at straws...


--
clayton
------------------------------------------------------------------------
clayton's Profile: http://www.excelforum.com/member.php...fo&userid=4563
View this thread: http://www.excelforum.com/showthread...hreadid=493669



  #6   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Running a script while editing a cell

I don't know of any setting that would work (and I doubt that there is one).

But if you don't get an answer here, you may want to post in the scripting
groups or even VB. I haven't spent that much time automating excel from an
outside program.



clayton wrote:

Thank you for your response Mr. Peterson. You having the status you do
on this forum my hopes have pretty well been dashed now that you say
there isn't anything YOU can think of..

I hope someone will come up with some sort of a solution. This is the
only thing that could really make a mess of my whole project.

Is there some sort of setting in Excel itself that disallows script
running while in edit mode? Its a long shot but at this point I am
grasping at straws...

--
clayton
------------------------------------------------------------------------
clayton's Profile: http://www.excelforum.com/member.php...fo&userid=4563
View this thread: http://www.excelforum.com/showthread...hreadid=493669


--

Dave Peterson
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
Paste losing data after editing a cell John M. Excel Discussion (Misc queries) 1 September 1st 05 09:54 PM
multiple cell editing George B. Excel Worksheet Functions 2 August 25th 05 10:26 AM
mass cell data editing George B. Excel Worksheet Functions 2 August 25th 05 08:23 AM
Can macros output to a cell selected prior to running it? winnie Excel Worksheet Functions 3 February 17th 05 11:03 PM
Cell Editing remco2mill New Users to Excel 2 February 11th 05 06:17 PM


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