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: 788
Default Maintaining links to cells for database query ranges

I have a spreadsheet that pulls data from a SQL view. There will be other
spreadsheets that use the values in these query cells. The problem I am
having is when a new row gets added to the view, it doesn't go to the bottom
(as it shouldn't) and thus gets "inserted" into the appropriate part of the
spreadsheet. The problem is that since no actual "insert" is performed, the
formulas get screwed up because any record below the new one gets bumped
down, but the formulas don't get updated appropriately.

Ex

I have a formula that says =C3+C4

I want the formula to get the specific information in that spot. If I wasn't
using a database query, and needed to insert a row above it, I would insert
the new row and the formula would get updated to be =D3+D4, which is what I
want. However, when the database query adds a new row, the formula stays at
=C3+C4.

Anybody have ways around this?
 
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
Renaming a file while maintaining links Curtis Excel Worksheet Functions 2 November 7th 09 03:10 PM
Maintaining links for imported data krodriguez23 Excel Discussion (Misc queries) 0 January 20th 09 11:04 PM
Maintaining Links when moving data tralbert Excel Discussion (Misc queries) 0 August 1st 08 06:22 PM
Database query with a range of cells as paramters? heprox Excel Discussion (Misc queries) 0 January 18th 07 11:15 PM
Maintaining a simple database Stuart[_5_] Excel Programming 0 September 30th 03 08:47 PM


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