Wrox Programmer Forums
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 7th, 2009, 01:56 PM
Registered User
 
Join Date: Jun 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Toolbar in VBA

I am a newbie to VBA. I have created a userform which I want to use a floating toolbar i.e. a userform which floats on the screen, does not have a red x in the corner to close it and I can use the rest of the spreadsheet (apart from the userform) while the userform is being displayed. Is there any way to do this?
 
Old June 7th, 2009, 09:04 PM
Friend of Wrox
 
Join Date: Sep 2005
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts
Default

You can display the user form as modeless (Set Modal = False in Userform-->Properties window). This will make sure that you can work on Excel, when userform is shown

There is no direct way to remove/disable the close button on userform. You can try using API Functions (http://vbadud.blogspot.com/2007/08/d...rform-vba.html)

Cheers
Shasur
__________________
C# Code Snippets (http://www.dotnetdud.blogspot.com)

VBA Tips & Tricks (http://www.vbadud.blogspot.com)





Similar Threads
Thread Thread Starter Forum Replies Last Post
There is no toolbar in crystalreportviewer basith7861 VB.NET 2002/2003 Basics 1 May 1st, 2007 10:24 PM
ToolBar Help reyboy VB.NET 2002/2003 Basics 2 April 19th, 2005 08:35 PM
About the toolbar momowu0701 BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 0 March 1st, 2005 09:23 AM
Toolbar amantona Crystal Reports 0 May 12th, 2004 09:41 AM
Toolbar sangata VS.NET 2002/2003 2 April 13th, 2004 05:14 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.