Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 57
Default Named Range, hidden row, auto-filter & macro buttons

My named range starts w/Row 14, which is hidden. A macro button inserts a
new row below 14 so users may enter a new record.

There are several reasons Im doing it this way. 1) Inserting a new row
between 14 & 15 ensures my named range is never altered, 2) Row 14 has
conditional formatting that is copied onto Row 15 - keeping fields yellow
until data is entered, and 3) the new record is always entered directly below
directly below column titles.

Aside from entering records I want users to be able to easily navigate
through the large list or create custom narrowed down lists, so another macro
button turns on AutoFilter for the named range. It works great until someone
clicks show "All", which unhides Row 14 and makes it an official part of the
list.

I've tried eliminate the hidden row and instead have my macro insert a new
row at the very beginning of my named range, but the new row is always
excluded from my named range.

Any suggestions or tips? Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default Named Range, hidden row, auto-filter & macro buttons

Not sure whether the below directly answers your query. You can create a
dynamic named range.....say in colA

Goto InsertNameDefine
Name: MynamedRange
Refers to:

=OFFSET(Sheet1!$A$1,,,COUNTA(Sheet1!$A:$A))

--
Jacob


"Munchkin" wrote:

My named range starts w/Row 14, which is hidden. A macro button inserts a
new row below 14 so users may enter a new record.

There are several reasons Im doing it this way. 1) Inserting a new row
between 14 & 15 ensures my named range is never altered, 2) Row 14 has
conditional formatting that is copied onto Row 15 - keeping fields yellow
until data is entered, and 3) the new record is always entered directly below
directly below column titles.

Aside from entering records I want users to be able to easily navigate
through the large list or create custom narrowed down lists, so another macro
button turns on AutoFilter for the named range. It works great until someone
clicks show "All", which unhides Row 14 and makes it an official part of the
list.

I've tried eliminate the hidden row and instead have my macro insert a new
row at the very beginning of my named range, but the new row is always
excluded from my named range.

Any suggestions or tips? Thanks.

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
Auto filter hidden cells Chiccada Excel Discussion (Misc queries) 1 February 19th 10 10:58 AM
Changing the color of the data auto filter buttons Jane P Excel Worksheet Functions 1 September 11th 08 04:43 AM
Column hidden and Auto filter David Excel Worksheet Functions 2 July 17th 08 02:37 AM
Command Buttons and Auto-Filter Katie Excel Programming 0 May 31st 07 11:32 PM
Hidden Rows with Auto-Filter Carol Excel Worksheet Functions 2 April 28th 07 03:34 PM


All times are GMT +1. The time now is 02:10 PM.

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"