Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old March 15th 19, 01:51 PM posted to microsoft.public.excel.programming
hbj hbj is offline
external usenet poster
 
First recorded activity by ExcelBanter: Aug 2011
Posts: 30
Default Dynamic Pushbutton caption

I have a floating pushbutton on a worksheet. Its macro runs through a time consuming process, the progress of which I would like to be shown as percents in the caption of the same pushbutton. This works for me when I debug step-by-step, but not when the macro runs. Why not?

Håkan

  #2   Report Post  
Old March 15th 19, 02:18 PM posted to microsoft.public.excel.programming
hbj hbj is offline
external usenet poster
 
First recorded activity by ExcelBanter: Aug 2011
Posts: 30
Default Dynamic Pushbutton caption

On Friday, March 15, 2019 at 2:51:56 PM UTC+2, hbj wrote:
I have a floating pushbutton on a worksheet. Its macro runs through a time consuming process, the progress of which I would like to be shown as percents in the caption of the same pushbutton. This works for me when I debug step-by-step, but not when the macro runs. Why not?

Håkan


Found already. You have to add DoEvents to the loop.


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
disable pushbutton on spreadsheet Robert Crandal Excel Programming 6 December 25th 09 02:34 PM
Display a Line w/ Caption instead of Frame w/ Caption RyanH Excel Programming 1 May 23rd 08 09:15 PM
How do you create a pushbutton lookup control wccmgr Excel Worksheet Functions 1 July 13th 07 10:49 PM
pushbutton to move data from one excel wkbk to another PAR Excel Programming 0 May 25th 07 04:44 PM
Dynamic Label Caption Turtle MacDermott Excel Programming 6 November 22nd 04 03:43 PM


All times are GMT +1. The time now is 12:48 AM.

Powered by vBulletin® Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright 2004-2019 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"

 

Copyright © 2017