Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / February 2008

Tip: Looking for answers? Try searching our database.

Data Validation - Insert Row

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Alex - 29 Feb 2008 12:51 GMT
Hi,

I have been trying to figure this out but, can’t seem to find a solution.
Please Help.

Cell A1 will show lists of categories (fruits or veggies), cell B1 is
dependent on A1 and will show its items depending on what I choose in A1. Up
to here, no problem.

But I want something a little different. I want cell A1 to show lists of
categories and have the rest of column A be dependent on cell A1. If I select
the rest of the column and have it refer back to cell A1, excel automatically
adjusts the formula to each cell (e.g. A2 refer to A1, A3 refer to A2….and so
on); this way I have to change it cell manually.

Another thing and this is the most important to me. Is there a way to insert
an empty row if the user selects “other” in the list in cell A1? (e.g. the
user wants a category that is not available, so he chooses “other” in the
reference cell, A1, so another row will be inserted and he will be able to
type what he wants). I know something close to this can be done with
“unchecking” the error message, but I want to know if it’s possible to have
an extra row inserted.

Thanks a lot

Alex
Pete_UK - 29 Feb 2008 13:46 GMT
You can't insert a row by means of a formula - you would need a macro
to do that.

I don't quite understand what you are saying about cell references -
if you make it A$1 then the row part will not change.

Hope this helps.

Pete

> Hi,
>
[quoted text clipped - 22 lines]
>
> Alex
Alex - 29 Feb 2008 16:36 GMT
Hey, Pete

Yes, you helped. I oversaw the "$" symbol.

But, about that macro you are talking about how would I do that? Any ideas??

Thanks

> You can't insert a row by means of a formula - you would need a macro
> to do that.
[quoted text clipped - 32 lines]
> >
> > Alex
Pete_UK - 29 Feb 2008 16:48 GMT
Glad to be of help.

Regarding the macro, I can't really help you with that, but perhaps one of
the more experienced VBA contributors will chip in. If not, then you might
like to repost in the .programming group.

Pete

> Hey, Pete
>
[quoted text clipped - 52 lines]
>> >
>> > Alex
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.