Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 553
Default EDITING A RANGE FOR FILTERATION

I have constructed a database spreadsheet to be distributed the different
branches. The formulas (which are frozen/locked cells) range in a column for
calculation of interest (suppose C1:C20000). The cases are coming upto 15000
in total listed in column "A". I have permitted the users to filter for
sorting out cases pertaining to their particular branch, branch names listed
in Column B.

Now if a branch, for instance, filters out its cases, the extra rows (for
further addition of cases, i.e. 15001:20000) also hide.

How can I opt to allow a branch for filtering data based on the logic of
blank rows (except for Column C, i.e. calculation formula) being shown
alongwith their branches' records?

Thank you all 4 your kind consideration.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,886
Default EDITING A RANGE FOR FILTERATION

Hi Faraz

What version of XL are you using?
In XL2003 the List was introduced DataListCreate List
If you use this, then you do not need to set your range to 20000, as the
List will "grow" automatically for you as you add more rows, including
the replication of any formulas within the List.
Even with Filter set, it will create a new record in the next available
row.

If you have set the range to be 2000, then when filtering is applied,
data would be added at row 20001.
One way around the problem would be to insert a row above your data, and
use that as the input row.
Then use the following macro to move that data to the end of the list
after you have entered the data. You could assign it to a button on the
sheet.

Sub MoveToEnd()
Dim lastrow As Long, Myrange As Range
Set Myrange = Range("D1:M1") '<===Set as appropriate
lastrow = Cells(Rows.Count, 1).End(xlUp).Row
myrange.Cut Range("D" & lastrow + 1)

End Sub

Set Myrange appropriate to the cells you wish to copy.

You can copy the code and paste it into your Visual Basic Editor
(VBE) in a Standard Module located in your file.

To do this,

Alt + F11 (open VBE)
Ctrl + R (open Project Explorer)
Select the file name on the left
Insert Module
Paste code in Module


--
Regards
Roger Govier


"FARAZ QURESHI" wrote in
message ...
I have constructed a database spreadsheet to be distributed the
different
branches. The formulas (which are frozen/locked cells) range in a
column for
calculation of interest (suppose C1:C20000). The cases are coming upto
15000
in total listed in column "A". I have permitted the users to filter
for
sorting out cases pertaining to their particular branch, branch names
listed
in Column B.

Now if a branch, for instance, filters out its cases, the extra rows
(for
further addition of cases, i.e. 15001:20000) also hide.

How can I opt to allow a branch for filtering data based on the logic
of
blank rows (except for Column C, i.e. calculation formula) being shown
alongwith their branches' records?

Thank you all 4 your kind consideration.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default EDITING A RANGE FOR FILTERATION

You have a response at your later post.

FARAZ QURESHI wrote:

I have constructed a database spreadsheet to be distributed the different
branches. The formulas (which are frozen/locked cells) range in a column for
calculation of interest (suppose C1:C20000). The cases are coming upto 15000
in total listed in column "A". I have permitted the users to filter for
sorting out cases pertaining to their particular branch, branch names listed
in Column B.

Now if a branch, for instance, filters out its cases, the extra rows (for
further addition of cases, i.e. 15001:20000) also hide.

How can I opt to allow a branch for filtering data based on the logic of
blank rows (except for Column C, i.e. calculation formula) being shown
alongwith their branches' records?

Thank you all 4 your kind consideration.


--

Dave Peterson
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
protecting range of cells with access to filteration Aditya Excel Discussion (Misc queries) 1 February 14th 07 02:23 PM
Autoupdating filteration on separate sheets FARAZ QURESHI Excel Discussion (Misc queries) 4 January 4th 07 12:05 PM
Min Max Editing bkj8890 Excel Worksheet Functions 1 March 27th 06 08:52 PM
editing a name TUNGANA KURMA RAJU Excel Discussion (Misc queries) 2 October 18th 05 11:33 AM
Editing the name box TDS570 New Users to Excel 2 August 7th 05 06:12 PM


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