Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 31
Default code needed to update links

After adding some lines of code to Add/Remove Subs myself that did the job,
opted for formula solution instead:

=OFFSET(ClassHours!$AD$3,ROW()-2,0)

Copied down target column to fill needed range.

--
David

David wrote

XL2000
Hopefully I can explain this adequately to get a solution.
I have a workbook in which I am frequently adding and deleting
students via code. I need that same list of students on another sheet,
so I have selected the range of students (and beyond to allow for
expansion), Copy (ed) and on the other sheet issued Edit|Paste
Special|Paste Link. So far, so good--until I run my code to add or
delete a student. When I look at the sheet with the links after, say,
deleting a student, I see #REF in the cell that once held the deleted
student's name. I can go to the top of the list and use the grab
handle to drag down the entire range to repopulate the cells and
everything is fine, but I don't want to have to do this every time.

What can I do?




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
Update links box gives Continue or Edit Links dialog KarenF Excel Discussion (Misc queries) 0 May 18th 07 01:17 PM
Suppress Update Links dialog AND don't update links Paul Martin Excel Programming 3 August 3rd 06 01:14 AM
Excel 2003 - Update or Don't Update Links Problem Jamie Excel Programming 4 July 7th 05 02:08 PM
can't update links...can't find links GJR3599 Excel Discussion (Misc queries) 1 April 4th 05 04:56 PM
Any way to update links tru VBA code? nrage21[_47_] Excel Programming 1 March 5th 04 05:32 PM


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