Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 29
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  
Posted to microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 618
Default HELP WITH CODE

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  
Posted to microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 20
Default HELP WITH CODE

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  
Posted to microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 618
Default HELP WITH CODE

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
split post code (zip code) out of cell that includes full address Concord Excel Discussion (Misc queries) 4 October 15th 09 06:59 PM
Code to conditional format all black after date specified in code? wx4usa Excel Discussion (Misc queries) 3 December 26th 08 07:06 PM
Drop Down/List w/Code and Definition, only code entered when selec Spiritdancer Excel Worksheet Functions 2 November 2nd 07 03:57 AM
option buttons run Click code when value is changed via VBA code neonangel Excel Programming 5 July 27th 04 08:32 AM
VBA code delete code but ask for password and unlock VBA protection WashoeJeff Excel Programming 0 January 27th 04 07:07 AM


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