Need help to CREATE a userform or sort of to FLOAT! :)

pedie

Well-known Member
Joined
Apr 28, 2010
Messages
3,875
Is that possible?? In excell 2003, I use validation to be floating so that wherever I move across the sheet I want whatever is written the validation (comment) is visible and floats in top corner...and help me in remembering thing/formula etc......

Please advice
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
I got this code from somewhere...it is giving me error....
I suppsoe this code is to make the button always go along with & float :)

Code:
Option Explicit

Private Sub Workbook_BeforeClose(Cancel As Boolean)
Application.CommandBars("Form").Delete
End Sub
'********************************
Private Sub Workbook_Open()
On Error Resume Next
Application.CommandBars("Form").Delete
On Error GoTo 0
With Application.CommandBars.Add("Form", , False, True)
    With .Controls.Add(msoControlButton)
         .TooltipText = "Show Form"
         .Style = msoButtonCaption
         .Caption = "Show Userform"
         .OnAction = "ShowForm"
         .BeginGroup = True
    End With
.Protection = msoBarNoCustomize
.Position = msoBarFloating
.Visible = True
End With

End Sub

Code:
Private Sub ShowForm()
UserForm1.Show
End Sub
 
Upvote 0
Pedie, I'm not sure what you are looking for.
It sounds similar to cell comments, or perhaps you want Excel to emulate Stickies.
 
Upvote 0
Hey Mike...!


I just want something to be visible & floating in the excel sheet no matter where in the sheet i am. like when we freeze it...but i dont want to freeze it...i want a button sort of thing to be floating and visible no matter where i scroll to....



please H.E.L.P:biggrin:
 
Upvote 0
Guys! got to make it work....

Code:
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range , Cancel As Boolean )

I have made the userform appear on the right side of the cell whenever i double click on it....:biggrin:

that also serves the purpose...:biggrin:
 
Upvote 0

Forum statistics

Threads
1,214,991
Messages
6,122,628
Members
449,095
Latest member
bsb1122

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top