Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Dropdown to populate next blank cell


Hi

This is my firs post here, not sure if this is the right thread.
have a spreadsheet that has dropdown feature. I want the value of th
drop down to populate the next blank cell.
A1 = drop down menu
A4 = first empty cell

I want the value from the A1 drop down to populate A4, next time i
will populate A5.

Is this possible?

Thank

--
pmgree
-----------------------------------------------------------------------
pmgreen's Profile: http://www.excelforum.com/member.php...fo&userid=3563
View this thread: http://www.excelforum.com/showthread.php?threadid=55420

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,090
Default Dropdown to populate next blank cell

One way is use a Worksheet_Change event macro as shown below. This macro
must be placed in the sheet module of that sheet. To access that module,
right-click on the sheet tab, select View Code, and paste this macro into
that module. "X" out of that module to return to your sheet.. HTH Otto
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Count 1 Then Exit Sub
If Target.Address(0, 0) = "A1" Then
If Target.Value = "" Then
Exit Sub
Else
Range("A" & Rows.Count).End(xlUp).Offset(1) = Target.Value
End If
End If
End Sub

"pmgreen" wrote in
message ...

Hi

This is my firs post here, not sure if this is the right thread. I
have a spreadsheet that has dropdown feature. I want the value of the
drop down to populate the next blank cell.
A1 = drop down menu
A4 = first empty cell

I want the value from the A1 drop down to populate A4, next time it
will populate A5.

Is this possible?

Thanks


--
pmgreen
------------------------------------------------------------------------
pmgreen's Profile:
http://www.excelforum.com/member.php...o&userid=35633
View this thread: http://www.excelforum.com/showthread...hreadid=554209



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
check to see if a cell is blank if not populate adjacent cell wit. Frusterated Excel Discussion (Misc queries) 6 September 14th 07 10:55 PM
how do i populate a dropdown menu from another tab in my workbook Shaun Excel Discussion (Misc queries) 2 November 16th 06 10:38 PM
Populate cell IF another cell is blank Scott Wagner Excel Programming 2 February 17th 06 07:21 PM
Can I automatically populate my dropdown with all available macros Gary Phillips[_2_] Excel Programming 0 July 12th 04 09:38 PM
Can I automatically populate my dropdown with all available macros Gary Phillips[_2_] Excel Programming 0 July 12th 04 09:34 PM


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