LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 92
Default Re : Excel Chemistry Before and After

Re : Excel VBA-Chemistry Before and After ......

1. Enter an Excel worksheet and the VBA module thereof.

2. The VBA used to run OK ; and then, it began to behave as
follows ......

3. When the WorkBook opens (in the first instant), the VBA would print
the following statements on the screen, namely,

A. MsgBox "Sub ComBox_Change() ...... Exit Sub."

B. With ButtonTopLeftCell
.Columns.AutoFit
MsgBox "Cell Breadth = " & .ColumnWidth
End With

4. However, on subsequent run, it would print statement-A only.
Statement-B is ignored

5. In fact, it means that it would print character-string exclusively.
MsgBox with variable is ignored.

6. Please comment and share your experience.

7. This is Excel-2000.

8. Regards.
 
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



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