Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Form Update before ProcRuns

I have a userform with a ''Load' ControlButton and a 'Message Panel'
LabelText

The load button does a lot of work to open .csv files copy data and organise
this in the workbook. Which takes some time to complete. I have added the
'Message Panel' to give the user notice of what is happening and to wait!,
the load process is a Private procedure in the form which works fine.
But.... the message panel only gets updated After the procedure has run. I
suspect it is something to do with form events .... but I am sure someone
knows the answer.

Secondly when the 'Load' button is pressed to excute the code, using the
click event the button stays in the depressed state (much like me at the
moment with this problem!). Can this be fixed as well?

Something like this......

ufMessage.Caption = "Loading Data, please wait......."
Call LoadData


Cheers
Nigel




----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! 100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Form Update before ProcRuns

ufMessage.Caption = "Loading Data, please wait......."
Doevents
Call LoadData

--
Regards,
Tom Ogilvy

"Nigel" wrote in message
...
I have a userform with a ''Load' ControlButton and a 'Message Panel'
LabelText

The load button does a lot of work to open .csv files copy data and

organise
this in the workbook. Which takes some time to complete. I have added the
'Message Panel' to give the user notice of what is happening and to wait!,
the load process is a Private procedure in the form which works fine.
But.... the message panel only gets updated After the procedure has run.

I
suspect it is something to do with form events .... but I am sure someone
knows the answer.

Secondly when the 'Load' button is pressed to excute the code, using the
click event the button stays in the depressed state (much like me at the
moment with this problem!). Can this be fixed as well?

Something like this......

ufMessage.Caption = "Loading Data, please wait......."
Call LoadData


Cheers
Nigel




----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet

News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! 100,000

Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption

=---


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Thanks Tom

Tom

If only every problem was as easy to fix!!!

Thanks for the tip, I suspect there are others out there who will find this
useful

Cheers
Nigel

"Tom Ogilvy" wrote in message
...
ufMessage.Caption = "Loading Data, please wait......."
Doevents
Call LoadData

--
Regards,
Tom Ogilvy

"Nigel" wrote in message
...
I have a userform with a ''Load' ControlButton and a 'Message Panel'
LabelText

The load button does a lot of work to open .csv files copy data and

organise
this in the workbook. Which takes some time to complete. I have added

the
'Message Panel' to give the user notice of what is happening and to

wait!,
the load process is a Private procedure in the form which works fine.
But.... the message panel only gets updated After the procedure has run.

I
suspect it is something to do with form events .... but I am sure

someone
knows the answer.

Secondly when the 'Load' button is pressed to excute the code, using the
click event the button stays in the depressed state (much like me at the
moment with this problem!). Can this be fixed as well?

Something like this......

ufMessage.Caption = "Loading Data, please wait......."
Call LoadData


Cheers
Nigel




----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet

News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! 100,000

Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via

Encryption
=---






----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! 100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
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
record update VBA form Roy Gudgeon[_2_] Excel Discussion (Misc queries) 0 March 15th 10 04:27 PM
Form Lookup & Update Records Tdungate Excel Discussion (Misc queries) 0 February 12th 09 07:55 PM
create update form smw2340 Excel Discussion (Misc queries) 2 February 4th 09 10:42 PM
User Form: Cannot Update Text Box Charles in Iraq Excel Discussion (Misc queries) 0 October 12th 06 07:53 AM
using vba to update vba form jrh Excel Programming 3 September 23rd 03 11:11 PM


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