Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Cell contain default value of cell above it


When the cursor is going into a cell (when hitting the enter key), nee
the cell to contain a default value of the cell above it. Kinda lik
control + ' , except not be in the edit cell mode.

Any ideas?

mikebur

--
mikebur
-----------------------------------------------------------------------
mikeburg's Profile: http://www.excelforum.com/member.php...fo&userid=2458
View this thread: http://www.excelforum.com/showthread.php?threadid=38245

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,298
Default Cell contain default value of cell above it

(1)
you could use the selection change event - if the selection has no value
then copy from the cell above
(2)
use the right mouse click event...

Private Sub Worksheet_BeforeRightClick(ByVal Target As Range, Cancel As
Boolean)
Target.Value = Target.Offset(-1, 0).Value
End Sub

"mikeburg" wrote:


When the cursor is going into a cell (when hitting the enter key), need
the cell to contain a default value of the cell above it. Kinda like
control + ' , except not be in the edit cell mode.

Any ideas?

mikeburg


--
mikeburg
------------------------------------------------------------------------
mikeburg's Profile: http://www.excelforum.com/member.php...o&userid=24581
View this thread: http://www.excelforum.com/showthread...hreadid=382458


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 233
Default Cell contain default value of cell above it

Use data validation:

Select column to validate e.g. E select Data-validation,tyep List, now
type formula: =OFFSET(E1,-1,0).

DM Unseen

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
set default value for a cell CEM Matt Excel Worksheet Functions 3 July 29th 09 11:56 PM
Default cell name and value [email protected] Excel Worksheet Functions 1 November 10th 06 10:13 PM
set a default value for a cell ? Jeethu New Users to Excel 1 February 16th 06 09:47 AM
how do you get rid of default 0 in a cell that has a formula set u lehighgrant Excel Discussion (Misc queries) 1 January 26th 06 11:49 PM
Default cell format Doug S Excel Discussion (Misc queries) 2 December 30th 04 07:39 PM


All times are GMT +1. The time now is 03:09 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"