Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
mdjennings
 
Posts: n/a
Default Manipulating Text between sheets, in a workbook

What I am trying to do is set up a cell where I can type in a name, and then
have that name collect under an appropriate field on another worksheet. Then
when I type in a different name, into the same cell, it collects that name
UNDER the first name on the other worksheet.
  #2   Report Post  
Gord Dibben
 
Posts: n/a
Default

Would require event code behind the worksheet.

Private Sub Worksheet_Change(ByVal Target As Excel.Range)
On Error GoTo stoppit
Application.EnableEvents = False
If Target.Address = "$A$1" And Target.Value < "" Then
Sheets("Sheet2").Cells(Rows.Count, 2).End(xlUp) _
.Offset(1, 0).Value = Target.Value
End If
stoppit:
Application.EnableEvents = True
End Sub

Right-click on the sheet tab and "View Code".

Paste the above code into that sheet module.

When you enter a name in A1 that name will be copied to Sheet2 B2 then next
time you type a name in A1 that name will be copied to Sheet2 B3 and on and
on.

Adjust to suit your fields and columns.


Gord Dibben Excel MVP

On Tue, 14 Jun 2005 12:04:04 -0700, "mdjennings"
wrote:

What I am trying to do is set up a cell where I can type in a name, and then
have that name collect under an appropriate field on another worksheet. Then
when I type in a different name, into the same cell, it collects that name
UNDER the first name on the other worksheet.


  #3   Report Post  
Dave Peterson
 
Posts: n/a
Default

This isn't quite the same thing, but you may want to try Data|Form.

You can always sort by the names later if that's a problem.

mdjennings wrote:

What I am trying to do is set up a cell where I can type in a name, and then
have that name collect under an appropriate field on another worksheet. Then
when I type in a different name, into the same cell, it collects that name
UNDER the first name on the other worksheet.


--

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
COUNTIF across all sheets of a workbook Steve Excel Worksheet Functions 6 June 1st 05 04:44 AM
COUNTIF across all sheets of a workbook Steve Excel Worksheet Functions 0 May 31st 05 11:56 PM
How do I convert an Excel workbook that has mulitple sheets into . Converting Excel Excel Worksheet Functions 3 April 25th 05 09:47 PM
copy a workbook from other workbook with lot of sheets wit... Vai Excel Discussion (Misc queries) 1 January 3rd 05 10:27 PM
view multiple sheets from same workbook mangates Excel Worksheet Functions 2 November 8th 04 06:08 PM


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