#1   Report Post  
Greg Brow
 
Posts: n/a
Default HELP WITH CODE

I am using this code to transfer times from a userform to my template, The
trouble is when I click on any of the cells it automatically places 00:00 in
the cell which then causes a conflict on my other sheet's "if" code any
help would be appriciated.

Private Sub TextBox1_Exit(ByVal Cancel As MSForms.ReturnBoolean)
TextBox1.Text = Format(TextBox1.Text, "00:00")
End Sub

Thanks in advance

Greg


  #2   Report Post  
JulieD
 
Posts: n/a
Default

Hi Greg

not really understanding what's going on here .. if you'ld like to zip up
the workbook and email it direct to me i'll be happy to take a look -
julied at hcts dot net dot au

Cheers
JulieD

"Greg Brow" wrote in message
...
I am using this code to transfer times from a userform to my template, The
trouble is when I click on any of the cells it automatically places 00:00
in the cell which then causes a conflict on my other sheet's "if" code any
help would be appriciated.

Private Sub TextBox1_Exit(ByVal Cancel As MSForms.ReturnBoolean)
TextBox1.Text = Format(TextBox1.Text, "00:00")
End Sub

Thanks in advance

Greg



  #3   Report Post  
Greg
 
Posts: n/a
Default

Thanks for the offer,

Unfortunately I realised I was wrong. The problem never occured again so I
assume it was me.

Thanks again

Greg
"JulieD" wrote in message
...
Hi Greg

not really understanding what's going on here .. if you'ld like to zip up
the workbook and email it direct to me i'll be happy to take a look -
julied at hcts dot net dot au

Cheers
JulieD

"Greg Brow" wrote in message
...
I am using this code to transfer times from a userform to my template,
The trouble is when I click on any of the cells it automatically places
00:00 in the cell which then causes a conflict on my other sheet's "if"
code any help would be appriciated.

Private Sub TextBox1_Exit(ByVal Cancel As MSForms.ReturnBoolean)
TextBox1.Text = Format(TextBox1.Text, "00:00")
End Sub

Thanks in advance

Greg





  #4   Report Post  
JulieD
 
Posts: n/a
Default

Hi Greg

glad it's solved.

Cheers
JulieD


"Greg" wrote in message
...
Thanks for the offer,

Unfortunately I realised I was wrong. The problem never occured again so
I assume it was me.

Thanks again

Greg
"JulieD" wrote in message
...
Hi Greg

not really understanding what's going on here .. if you'ld like to zip up
the workbook and email it direct to me i'll be happy to take a look -
julied at hcts dot net dot au

Cheers
JulieD

"Greg Brow" wrote in message
...
I am using this code to transfer times from a userform to my template,
The trouble is when I click on any of the cells it automatically places
00:00 in the cell which then causes a conflict on my other sheet's "if"
code any help would be appriciated.

Private Sub TextBox1_Exit(ByVal Cancel As MSForms.ReturnBoolean)
TextBox1.Text = Format(TextBox1.Text, "00:00")
End Sub

Thanks in advance

Greg







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
how do i create an access code sheet to number my office files an. dana New Users to Excel 1 February 12th 05 03:49 AM
Help with Amending this Code Please [email protected] Excel Worksheet Functions 4 February 1st 05 07:04 PM
Command Button VBA code Dave Peterson Excel Discussion (Misc queries) 2 January 25th 05 11:28 PM
Often-Used Code not working in a new Workbook Steve Excel Discussion (Misc queries) 2 December 16th 04 11:55 PM
Zip Code Macro Ken Wright Excel Worksheet Functions 0 December 9th 04 07:55 AM


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