English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I have an excel file that's prepared on a per customer basis. It contains what I'll call customer information (contact name, phone number, email address, etc). Below this informaiton on the same sheet, I have a section that varies in row length based on what items the customer is interested in.

I want to setup about 200+ rows on this sheet that are hidden until I paste customer items into (maybe the first row/cell before) the hidden row range. By pasting, the items spill into the once hidden rows/cells causing a percentage of them to appear...leaving the remaining of the orginally 200 hidden rows hidden.

I have spent lots of time looking for a solution, but maybe i'm not searching for the right thing...

Anyone from the Yahoo! community care to give me some advice?

2007-02-27 06:40:12 · 5 answers · asked by Tony 2 in Computers & Internet Software

5 answers

There is no way to do exactly what you want to do without a fairly complicated VBA macro (not one which you could get by using the Record Macro capability).

You might consider how your spreadsheet could be redesigned to eliminate the problem. For example, what about putting all the customer data in one row, rather than multiple rows?

2007-02-27 06:57:50 · answer #1 · answered by Joliet Jake 3 · 0 0

Okay. You gonna hate me for this. For each customer, create a fake =sum() covering all the rows relevent to his. Go to Data>Group and Outline>AutoOutline. Now you can collapse and expand at will by customers.
Try not to hide rows. It only mess up your spreadsheet when copy and paste is applied in correctly.

2007-02-27 14:47:30 · answer #2 · answered by unnga 6 · 0 0

I agree, it needs to be performed with a Macro... wow... this one replaced into relaxing to do (stressful and nevertheless could desire to artwork on it) working interior the Activesheet (the only yet is that basically works with the 1st column) please artwork with it and in case you improve it permit me be responsive to ;) Sub autohide3() for each rw In ActiveSheet.Cells(SearchRow(), SearchCol()).CurrentRegion.Rows this = rw.Cells(SearchRow(), SearchCol()).fee If this = a million Then rw.RowHeight = 0 final = this next end Sub Public functionality SearchCol() SearchCol = ActiveSheet.Cells.Column end functionality Public functionality SearchRow() SearchRow = ActiveSheet.Cells.Row end functionality ------ replace: w00t!!! i've got made something greater advantageous (macro) this works with a sort of rows and columns decide on the finished rows), sorry I left some words in Spanish: Sub Escondiendo() Dim Columna As Integer Dim Fila As Integer Dim rw As merchandise Dim this As Integer Fila = a million Columna = a million For Fila = a million To determination.Rows.count variety+a million For Columna = a million To determination.Columns.count variety+a million for each rw In ActiveSheet.Cells(Columna, Fila).CurrentRegion.Rows this = rw.Cells(Columna, Fila).fee If this = a million Then rw.RowHeight = 0 next next next end Sub

2016-09-29 23:48:55 · answer #3 · answered by heusel 4 · 0 0

There is a simple work around for what you asked here. Before i give you a solution, i would like to look at the sheet.

can you pls email me the worksheet and message me on my yahoo messenger so that i can help u live on it. my yahoo id is herochenna@yahoo.com

2007-02-28 03:30:15 · answer #4 · answered by sam e 2 · 0 0

I think you may be better off using Access. It would be much easier, safer, convenience, and practical.

2007-02-27 06:44:03 · answer #5 · answered by Dru D 2 · 0 0

fedest.com, questions and answers