LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default AutoFilling Function not updating

Can someone please tell me what I am missing here.

I use the followig function to concatenate two columns of dates.

When I use the fill handle to autofill the function down the column, the
values calculated in the first cell of the column are carried down the
column -- without recalculating or updating for each individual iteration.

I cannot seem to force the function to recalcuate or examine each iteration
of the function independently?

Any help appreciated.
===================
Public Function OsteoDate(MyText) as String

Dim FromDate
FromDate = ActiveCell.Offset(0, 1).Text

Dim ToDate
ToDate = ActiveCell.Offset(0, 2).Text

If MyText = "" Then 'Check to see if first date column is null
OsteoDate = "on " & FromDate
Else 'concatenate both dates together with "from" and "to"
OsteoDate = "from " & FromDate & " to " & ToDate
End If

End Function


 
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
Value Function not updating Jayneedshelp Excel Worksheet Functions 0 April 19th 07 01:20 AM
Custom Function not updating lister_d_000169 Excel Worksheet Functions 2 March 30th 06 10:03 AM
Custom Function not updating lister_d_000169 Excel Worksheet Functions 0 March 29th 06 08:38 PM
how can I use the NOW() function without it updating thetime? MagicPC Excel Worksheet Functions 1 February 1st 06 03:14 AM
How can I use the NOW function and keep it from auto updating? Bear Excel Worksheet Functions 2 September 3rd 05 06:51 PM


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