Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default How to use VBA

I am used to using VB, which I am now learning. What I don't understand is
VBA. How do the objects you place on the desktop run if you never compile
anything. If I put a button, for example, on the desktop, I can write code
in it, but it still remains in the "form" mode.

Is there a step I need to know about to integrate this button with the
spreadsheet and make it work?

Mark


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 79
Default How to use VBA

there are 2 types of controls in vba - form and activeX.
ActiveX can be programmed the same way as in VB. Just don't forget to switch
from design mode. Form controls are simpler, they can only run assigned
macro.

Form controls are on the Form toolbar, ActiveX - on Control ToolBox toolbar.

RADO


"Mark Brantana" wrote in message
nk.net...
I am used to using VB, which I am now learning. What I don't understand

is
VBA. How do the objects you place on the desktop run if you never compile
anything. If I put a button, for example, on the desktop, I can write

code
in it, but it still remains in the "form" mode.

Is there a step I need to know about to integrate this button with the
spreadsheet and make it work?

Mark




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



All times are GMT +1. The time now is 10:41 PM.

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"