LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default UDF reclac on move

I've written a function that returns the value of a cell on which a shape sits.
It's a calendar kind of thing:

Public Function ObjectDate(MyObject As String) As Date
Application.Volatile
ObjectDate = ActiveSheet.Shapes(MyObject).TopLeftCell
End Function

If the shape is moved from one cell to another, I'd like the function to
return the new date.

I found in this newsgroup the very helpful Application.Volatile.
The function now updates when the sheet recalcs. Yeah!

However, moving the shape doesn't cause the sheet to recalc.
Any suggestions?
 
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
Excel arrows don't move black box but move the window Thebit Excel Discussion (Misc queries) 1 April 13th 09 02:06 AM
excel-how to get the spreadsheet to move as I move the scroll tab excel toiler Excel Discussion (Misc queries) 6 November 7th 07 06:07 PM
How do I stop making the spreadsht move when I move up/dwn/lt/rt? Manny Excel Worksheet Functions 4 April 7th 06 10:30 PM
2 strange items in Excel (reclac and Add-in) ynissel Excel Discussion (Misc queries) 0 March 1st 06 04:04 PM
When I move scroll bar in excell the contents do not move with it ramneek Excel Discussion (Misc queries) 2 June 29th 05 07:35 PM


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