Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Userform: Showing Cell Data

Hi

What do u mean by "textbox of the active row". Do you mean cell text
(value in a cell) ?
I suppose what you need to do is read cell values of a row and show
them in a dialog.

plz clarify

regards

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Userform: Showing Cell Data


Hi,

Say (for example) I have a userform which I have put 2 textboxes on (from
the control toolbox).

I want to be able to say.

For textbox1 - show (the text in) cell A of the row that is currently
selected.
For textbox2 - show (the text in) cell D of the row that is currently
selected.

Hope this make sense.

Thanks again.
Phil

"abhimanyu" wrote:

Hi

What do u mean by "textbox of the active row". Do you mean cell text
(value in a cell) ?
I suppose what you need to do is read cell values of a row and show
them in a dialog.

plz clarify

regards


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Userform: Showing Cell Data

Well,
In that case you can Tag your TextBoxes '1', '2' and so on according to
the column number.
When you click on fill button you can loop through the textbox
collection and for each textbox call

textbox.Text = Application.Selection.Cells[Application.ActiveCell.Row,
TextBoxTagNumber].Value

hope this helps !!!

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
showing data from a cell in a text box [email protected] Excel Programming 0 December 12th 06 02:22 PM
Showing Userform Problem Henry Stockbridge Excel Programming 4 March 30th 06 08:28 PM
Showing Userform IanC Excel Programming 16 March 10th 06 10:42 AM
Showing a userform Kent McPherson Excel Programming 1 December 4th 05 07:01 PM
code for showing userform on cell selection M P Reddy Excel Programming 3 December 14th 03 10:27 AM


All times are GMT +1. The time now is 12:18 AM.

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"