Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Changing caption text and hiding buttons

Hello
I've written a fairly simple bit of code to change a form and make th
user of the reports aware that they are updating.
It works just fine without the macro attached, but when I call th
macro in the line afterwards the form fails to update.

Any ideas?

Cheers
Paul

Private Sub ClickYes_Click()

MarketLabel.Caption = "Running Reoprts"
ClickYes.Visible = False
ClickCancel.Visible = False

ReportMacro

Me.Hide

End Su

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Changing caption text and hiding buttons

Private Sub ClickYes_Click()

MarketLabel.Caption = "Running Reoprts"
ClickYes.Visible = False
ClickCancel.Visible = False
me.repaint
doEvents
ReportMacro

Me.Hide

End Sub

--
Regards,
Tom Ogilvy


"Paul_Russell " wrote in
message ...
Hello
I've written a fairly simple bit of code to change a form and make the
user of the reports aware that they are updating.
It works just fine without the macro attached, but when I call the
macro in the line afterwards the form fails to update.

Any ideas?

Cheers
Paul

Private Sub ClickYes_Click()

MarketLabel.Caption = "Running Reoprts"
ClickYes.Visible = False
ClickCancel.Visible = False

ReportMacro

Me.Hide

End Sub


---
Message posted from http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Changing caption text and hiding buttons

Fantastic.
Unfortunately I have to wait until tommorow morning to get into wor
and try it!

Thanks Tom really appreciate the help

Pau

--
Message posted from http://www.ExcelForum.com

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
Hiding Buttons K1KKKA Excel Discussion (Misc queries) 1 September 26th 07 12:07 PM
Collapsing/Hiding radio and macro buttons Lance Gray Excel Discussion (Misc queries) 1 December 20th 05 04:50 PM
hiding/unhiding rows & columns with "+" and "-" buttons shellshock Excel Discussion (Misc queries) 2 August 3rd 05 05:22 AM
Sort buttons by caption? David Excel Programming 3 December 26th 03 07:54 PM
changing the caption of a label Koos Excel Programming 4 October 18th 03 02:36 PM


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