LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default column of entry for textbox value


Hi I am having trouble with my userform. I have 5 controls on the
form.

a calendar (calendar1)
2 combos (cbosite & cbometerno)
1 textbox (txtreading)
1 command button (cmdaddrecord)

The user selects a value in the calendar and this is added to the first
available row in the sheet.

cbosite has a selection of all the sheet names in the workbook. The
selection here decides which sheet the calendars input and the
txtreading is printed to.

up to now I have this part working. I choose a date, select a sheet
name from cbosite and click cmdaddrecord. This activates the relevant
sheet and enters the date in the first blank row in column a as the
code asks.

The part I dont know how to do is to take the row number from where
calendar 1 has just entered and put it on one side to use as the row
number to enter txtreading.

To find the column for txtreading I need to some how cross reference
the choice in cbometerno which will be found anywhere between B1:K1 and
take the column letter.

Once I have this I know that txtreading should be entered in row x and
column y.

I have tried to explain that as well as I can but I have attached a
copy of the sheet to this post if you want to have a look.

Thanks for your time having a look.

Rob


+-------------------------------------------------------------------+
|Filename: excelproject.zip |
|Download: http://www.excelforum.com/attachment.php?postid=3619 |
+-------------------------------------------------------------------+

--
robhargreaves
------------------------------------------------------------------------
robhargreaves's Profile: http://www.excelforum.com/member.php...o&userid=25519
View this thread: http://www.excelforum.com/showthread...hreadid=389584

 
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
Take action after entry in a textbox (or after tabbing out of/into it) Lost![_6_] Excel Programming 3 July 7th 05 08:15 PM
data entry to next blank TextBox [email protected] Excel Programming 4 June 17th 05 10:09 PM
Validate textbox entry Stuart[_21_] Excel Programming 2 May 13th 05 07:31 PM
Validate Textbox entry David Seebaran Excel Programming 3 April 18th 04 06:26 PM
Validating Entry into Textbox Brad[_11_] Excel Programming 1 December 4th 03 02:58 PM


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

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"