Prev Previous Post   Next Post Next
  #11   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default plus 1

Thanks for the feedback

Glad it worked out.


Gord

On Wed, 25 Jul 2007 10:43:26 -0700, alex wrote:

On Jul 20, 4:55 pm, Gord Dibben <gorddibbATshawDOTca wrote:
You don't say which column but how about column A?

Private Sub Worksheet_Change(ByVal Target As Excel.Range)
Dim rcell As Range
If Target.Column < 1 Then Exit Sub
On Error GoTo endit
Application.EnableEvents = False
For Each rcell In Selection
If rcell.Value < "" Then
With rcell
.Value = .Value + 1
.NumberFormat = "dd mm yyyy"
End With
End If
Next
endit:
Application.EnableEvents = True
End Sub

Gord



On Fri, 20 Jul 2007 03:22:29 -0700, alex wrote:
Gord,


I am pasting a range of cells, sometimes hundreds, but only one
column.


alex- Hide quoted text -


- Show quoted text -


That worked Gord; thanks for all your help.

alex


 
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



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

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"