Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
mully
 
Posts: n/a
Default Text Box Formula

Hi

On a user form I have several text boxes - however the first two are
relevant to this question.

Text Box1 - I enter the date "dd/mm/mm " is it possible for after entering
the date that Text Box2 would automatically insert a number e.g. 1 - after
filling all the Text boxes and Adding to the Excel Sheet. I would then enter
another Date in Text Box1 and Text Box2 would show number 2 - and so on
until I've finished with the user form.

Any help appreciated

Cheers Mully
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Why bother putting it in a textbox, you just want it for the worksheet, no?

Create a Private variable in the userform module, say nCount

Private nCount as Long

In the button that dumps to the worksheet, increment before writing to the
worksheet, and use that value in the worksheet.



--
HTH

Bob Phillips

"mully" wrote in message
...
Hi

On a user form I have several text boxes - however the first two are
relevant to this question.

Text Box1 - I enter the date "dd/mm/mm " is it possible for after entering
the date that Text Box2 would automatically insert a number e.g. 1 - after
filling all the Text boxes and Adding to the Excel Sheet. I would then

enter
another Date in Text Box1 and Text Box2 would show number 2 - and so on
until I've finished with the user form.

Any help appreciated

Cheers Mully



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
Can I create and save a formula for text fields? Jason Excel Discussion (Misc queries) 2 June 21st 05 10:20 PM
Formulas dealing with text data Bagia Excel Worksheet Functions 6 June 20th 05 10:29 PM
Using the text from a cell as a range name in a formula Fletch Excel Discussion (Misc queries) 3 June 13th 05 07:57 PM
Coverting Formula to Text Catch 22 Excel Discussion (Misc queries) 3 April 1st 05 01:13 AM
Concatenation formula loses text wrap formatting DFM Excel Discussion (Misc queries) 5 December 27th 04 01:45 PM


All times are GMT +1. The time now is 10:34 PM.

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"