microsoft excel training company borough high street london - excel vba buttonsimages
Microsoft Office Training verified by visa - mastercard securecode about microsoft training company london ukadd this page to your favourites/bookmarksAdd to favourites
view a printable version of this pagePrintable version
email this page to somebodyEmail this page
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and Help » microsoft excel training company borough high street london - Excel VBA buttons/images

microsoft excel training company borough high street london - Excel VBA buttons/images

The UK's most regular instructor-led training courses.
Training information: microsoft excel training company borough high street london · Excel courses london · VBA courses London

resolvedResolved · Low Priority · Version Standard

Excel VBA buttons/images

Jennifer has attended:
Excel Advanced course
Dreamweaver 8 Introduction course
Dreamweaver 8 Intermediate course
Excel VBA course
Excel VBA course

by - delegate Jennifer [10 posts] (2007 Dec 3 Mon, 16:35) replyReply

Can I create a button that is replaced by an image( after it is clicked and the proceedure it runs has run)?

Excel VBA 2 day course
Version Date Location Places
available
Book Next place rate:
Card Invoice
2007 2008 Oct 13 Mon + 14 Tue Bayswater 0 FULL    
2003 2008 Oct 23 Thu + 24 Fri Southwark 0 FULL    
2003 2008 Oct 30 Thu + 31 Fri Bloomsbury 1 book now £495 £495
2003 2008 Nov 3 Mon + 4 Tue Bayswater 4 book now £475 £485
2003 2008 Nov 17 Mon + 18 Tue Southwark 5 book now £450 £485
2003 2008 Nov 26 Wed + 27 Thu Bloomsbury 6 book now £450 £485
Full Schedule: See all 40 Excel VBA course dates.
Bookings currently available until 26th November 2009.

RE: Excel VBA buttons/images

by - trainer Andrew gold contributer[441 posts] (2007 Dec 14 Fri, 16:28) replyReply

Hi Jennifer

Thanks for your question. Can I just check that I have understood your question. A user will click the button. This will run the associated procedure and also remove the button. Finally and image will be displayed where the button was position.

Thanks

Andrew

RE: Excel VBA buttons/images

by - delegate Jennifer [10 posts] (2007 Dec 15 Sat, 19:25) replyReply

Yes that's exactly right.

RE: Excel VBA buttons/images

by - trainer Stephen gold contributer[355 posts] (2008 Feb 26 Tue, 15:38) replyReply

Hi Jennifer

Thank you for your question

If you create the command button and the picture on the form.

In the properties form, set the visible property of the button to true, and the visisble property of the picture to false.

Then double click on the button to open the code window for the on click property.

Then enter the following lines of code

Me.cmd1.Visible = False
Me.Image1.Visible = True


where cmd1 is the name property of the command button, and image1 is the name property of the picture.

I hope this goes someway to solving your problem. If you need to refine things, let me know

Regards

Stephen


Related articles

· Excel Advanced Courses Ease the Frustration of Learning Complex Tasks
· 3 Reasons why Your Small Business Office Needs Microsoft Excel Training
· 5 Microsoft Excel Charts for Creating Stunning Business Documents
· 3 Reasons Why Excel Training Courses For Employees Can Improve Your Business
· Excel Course Tips and Tricks to Liven Up Your Excel Spreadsheets

Excel tip:

Hide data in Excel Worksheets

Let's say you have some data in cell 'C5' you would like to hide from the casual viewer.

Click cell 'C5' to select it.

Click the 'Format' menu, select 'Cells'. When the 'Format Cells' dialogue box opens, click the 'Numbers' tab (if necessary), then select 'Custom' from the 'Category' list.

Double-click the 'Type' entry box and type three semi-colons: ";;;"

Click 'OK' to close the dialogue box and accept the new formatting.

The data in cell 'C5' disappears. It's still there and will work in calculations, but it isn't visible.

If you need to check the data, just click the blank cell and the contents appear in the 'Formula bar'.

View all Excel hints and tips

Institute of IT Training - Accredited Training Provider Microsoft Certified Partner
microsoft office
Microsoft Office Specialist Authorised Testing Centre (MOS and MCAS)

Prodigy Platinum Learning Partner

Institute of IT Training - Accredited Training Provider Association of Computer Trainers Valid HTML 4.01 Transitional
Valid CSS Markup

secure online payments - visa - mastercard

Mini sitemap. These are the main areas of our web site. Full sitemap.

Training by application Main information pages See also

Access courses
DreamWeaver courses
Excel courses
MS Project courses
Outlook courses
PowerPoint courses
VBA courses
Word courses
(more...)

Public scheduled courses
On-site training
Closed company courses

Microsoft Office training
Pricing and availability
Training schedule
Training venues

Access training
Dreamweaver training
Excel training
MS Project training
PowerPoint training

London Computer Training
Computer Training London

Microsoft Access training
Microsoft Excel training
Microsoft Project training
Microsoft Outlook training
Microsoft Powerpoint training
Microsoft Word training

Time Management Course London

Interested in Access training? Please see the following pages:
microsoft access courses · microsoft training access course
microsoft+access+training · access courses in london

Training Information
AddThis Social Bookmark Button What's this?
Add to Del.icio.us Add to Facebook Add to Digg Add to Reddit Add to Google Add to Yahoo Add to Diigo Add to Mr. Wong Add to Linkarena Add to Power Oldie Add to Folkd Add to Jumptags Add to Upchuckr Add to Simpy Add to StumbleUpon Add to Slashdot Add to Netscape Add to Furl Add to Spurl Add to Blinklist Add to Blogmarks Add to Technorati Add to Newsvine Add to Blinkbits Add to Ma.Gnolia Add to Smarking Add to Netvouz