Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Sam Sam is offline
external usenet poster
 
Posts: 699
Default PLEASE HELP: how to Identify a row and populate the data respectiv

Hi All,

Is it possible to populate the same row twice? Same row but different columns.

For eg. Lets say A,B,C,D,E are the columns and 1, 2, 3, 4 are the rows.
Is it possible to populate A1, B1 and C1 when we click "Accept" button and
later when we click "Accept: D" or "Accept: E" it somehow populates in the
corresponding row but in column D and E respectively.
I think what I am looking for is a way to identify a row and input the data
in D and E. How can I design a script that prompts me a window to ask me
which row I want to populate in? Lets say I have a Unique ID in Column A and
I want a window to be displayed asking me the "Unique ID" to identify the
row. So Once I input the Unique ID it identifies the corrensponding row and
populates in Column D and E accordingly.

Hope I made it clear

Thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default PLEASE HELP: how to Identify a row and populate the data respectiv

I bet it is.

But before you do, you may want to look at excel's built in version:
Data|Form (in xl2003 menus)

If that's not enough...
You could look at John Walkenbach's enhanced data form:
http://j-walk.com/ss/dataform/index.htm

The source code is available for a small fee ($20 USA, IIRC). So you can modify
it as much as you want.

=========

Are you building a userform to get the responses from the user? If yes, as a
user, I would think that it would be simpler for you to have a combobox/listbox
that displayed all the values from column A. Then textboxes or comboboxes or
some meaningful control for each of the fields.

And then I could complete each field and hit the Ok button and all the fields
would be plopped back into the worksheet.

If you've never created a userform...

Debra Dalgleish has some nice notes about userforms:
http://contextures.com/xlUserForm01.html
(video: http://contextures.com/xlVideos05.html#UserForm01)
and
http://contextures.com/xlUserForm02.html

ps. Debra's code just adds the input to the bottom of the data. The code would
have to be modified to look for a match (or modified to look for a match and if
one isn't found, then add it to the bottom).



sam wrote:

Hi All,

Is it possible to populate the same row twice? Same row but different columns.

For eg. Lets say A,B,C,D,E are the columns and 1, 2, 3, 4 are the rows.
Is it possible to populate A1, B1 and C1 when we click "Accept" button and
later when we click "Accept: D" or "Accept: E" it somehow populates in the
corresponding row but in column D and E respectively.
I think what I am looking for is a way to identify a row and input the data
in D and E. How can I design a script that prompts me a window to ask me
which row I want to populate in? Lets say I have a Unique ID in Column A and
I want a window to be displayed asking me the "Unique ID" to identify the
row. So Once I input the Unique ID it identifies the corrensponding row and
populates in Column D and E accordingly.

Hope I made it clear

Thanks in advance


--

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
De-identify data Eilean Excel Worksheet Functions 2 May 21st 08 02:22 AM
Identify last row of populated data Jumbo Shrimps, Jr. Excel Worksheet Functions 2 April 8th 07 08:03 AM
identify duplicate data upon entry of that data Jan Buckley Excel Discussion (Misc queries) 5 December 21st 06 10:11 PM
identify different data in two columns fitzy Excel Discussion (Misc queries) 2 July 20th 05 11:13 AM
Compare and identify new data Dave Baffled Excel Programming 2 November 25th 03 06:14 PM


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