Popup Menu On Double Click

Jul 11, 2014

Is it possible to create a menu that could be called by a double click which would allow you to click on a value from that menu and insert it into the double clicked cell. I know I could use a data validation list, but that is tacky and you have to scroll down the list to find the data you would like. I'd like to have a menu pop up that stores different values in 6 columns and 25 rows. Any way without having to jump into an access database?

View 2 Replies


ADVERTISEMENT

With Right Click Menu Comandbar Popup

May 5, 2007

I've run into this really strange problem with my right click menu (popup command bar) The UF that handles the cb is loaded at workook open event and it's modal*
When first right click, the commandbar is invisible, but it's there. Only shadow seems, and when click on arrow, starts showing menu. I could say that something like repaint needed. If i click on anything, next time it popups normally !!

The problem does not occur if:
1) i load the uf manually
2)* display the UF modeless

View 2 Replies View Related

Right Click Popup Menu For UserForm

Dec 17, 2007

I used the commandBar to create a right-click menu on a userForm but unfortunately I get an error 400 every time I click on the option "Edit" and I don't understand what I did wrong.

Sub CreateCmdBar()
Dim st As CommandBar
'delete the pop-up if it exists
On Error Resume Next
Application.CommandBars("flexgrid_rc").Delete
'Disables enabled error handler in the current procedure and resets it to Nothing. On Error GoTo 0
On Error Goto 0
Set st = CommandBars.Add( Name:="flexgrid_rc", Position:=msoBarPopup, Temporary:=False)
'add two menu items to the new commandbar
With st..................

View 3 Replies View Related

Macro To Right Click A Cell And Select Item From Right Click Menu?

Feb 7, 2014

I wonder if it is possible to make a macro that right clicks a cell and then chooses a option from the list?

View 11 Replies View Related

Popup Menu Error

Apr 3, 2007

i am usig Excel 12

Sub RemovePopUp()
On Error Resume Next
Application. CommandBars(ThisWorkbook. Sheets("MenuSheet"). Range("B2").Value).Delete

' when excution come here, it gives me :invalid proceduers calls or argument
' any idea why ?
On Error Goto 0
End Sub

View 8 Replies View Related

Create RMB Popup Menu In Userform?

Jan 25, 2010

I would like to create a simple right mouse button popup menu for the text box on a userform. I just want Copy and Paste and the functionality that goes with them if possible.

View 2 Replies View Related

Popup Menu For Sheet Index

Aug 21, 2007

I have a workbook containing multiple sheets of data. I have a macro to analyze this data but want to add a popup menu with a dropdown list of all sheets in the workbook. The idea is to have the macro prompt me to select which sheet to continue running on. I can't remember how to create an input box with a dropdown menu.

View 8 Replies View Related

Popup Calendar When User Double Clicks In A Range Of Cells

May 1, 2007

writing the correct command to auto popup a calendar when a user doubleclicks in any cell in a range of cells. I have the code for individual cells but would like to apply to a very large range of cells and do not know what the correct command is.

Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
Select Case Target.Address
Case "$C$160", "$C$161", "$C$162", "$C$163"
Cancel = True
Call OpenCalendar
End Select
End Sub

View 6 Replies View Related

Open Popup Menu In Specific Position In Userform?

Mar 7, 2014

I have one Popup Menus in Userform, But i want to to Open Popup menu in Specific Position in userform, In Fixed Position,i want to specific a position which opens Popup Menus in Userform.

Look In Example in Attach.

[Code]....

menu_1.xls‎

View 2 Replies View Related

Image Popup When Click On Text?

Apr 20, 2012

I have a Cell with 3 text boxes spaced horizontally. My boss wants me to figure out a way for when I click each of those text boxes an image appears beside the textbox.

So if i click the first textbox a check appears beside the first textbox. If I click the 3rd textbox then beside the 3rd etc.. Also, In the cell beside it he wants a number to appear when you click the textbox. So say the first textbox is clicked the number "1" appears, the 2nd one is click the number "3" and the 3rd one is clicked the number "6" (for example).

View 1 Replies View Related

Popup Calendar When Click Cell

May 11, 2005

I need to popup a calendar when user clicks on a cell.

I am using the internal add-in MScal 8.0 but can only insert date
my clicking on a cell and activating the macro.

also is there a way if user selects enable macros on digital certificates
that the addin can be selected automaticly for the user?

View 9 Replies View Related

Double Click Event

Jun 11, 2009

I am trying to write some questions on cells of Sheet1 of a workbook. Then I want to write the answers on cells of Sheet2 of the same workbook. I want the user to be able to double click the question-cell on Sheet1 and be taken to the respective answer on Sheet2.

View 6 Replies View Related

SUM Function And Double Click

Sep 30, 2009

I have a spreadsheet that just uses the basic "SUM" function. This morning I went to use it and the function does not work after I change a number within the field of that function. If, however, I go into the SUM function and double click, then hit enter, it does the new calculation.

View 3 Replies View Related

Double Click To Add Time

Jun 1, 2014

I'm trying to simplify some data entry on an excel sheet, by making a double click vba to add a time any where in 2 columns, specifically H and I .

[Code] ....

I tried to modify this code but my understanding of VB is very lacking.

View 10 Replies View Related

Go To Range Name By Double Click

Jul 28, 2014

I have this list of all rangenames in my workbookin column A:A

For some reason I want to doubleclick on the rangename in the list to activate this range.

The reason is that I want more smooth activation-prosess; The Excel Range List is too long to practical use as a direct lookup, so I want to activate directly from my own list (where i have added definitions to the range names.

I have tried to build a hyperlink formula, but failed. Maybe the macro below can be modified to do the job, but I am stuck here as well.

Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
Dim RangeName
Application.ScreenUpdating = False
If Target.Count > 1 Then Exit Sub
If Not Intersect(Target, Range("A:A")) Is Nothing Then
Cancel = True

[Code] ...........

View 2 Replies View Related

Open With Double-click

May 12, 2009

I seem to have broken something!. Whenever I double-click to open an Excel file (.xls files are associated correctly), Excel opens, but nothing happens. That status bar says "Ready," but my workbook never appears.

If I do a File-> Open within Excel, then I am able to open the workbook. I have no idea what is going on. This occurs for all Excel files whether they contain macros or not.

View 9 Replies View Related

Double Click Range

Aug 31, 2009

I have a code for doubleclick on a cell and a gdt application chart will open.

Private Sub Worksheet_BeforeDoubleClicK(ByVal Target As Range, Cancel As Boolean)
ActiveSheet.Unprotect
ThisWorkbook.Unprotect
Dim i As Integer
Dim gdt As Long
Dim S As String
Cancel = True
With Application

If Target.Address(False, False) "C11" Then Exit Sub

'Place your direct path to open this GDT application

S = "C:Documents and SettingsUserMy DocumentsAndy's MachineINSPECTIONGDTGDT BitmapGD&T_Font.exe"

If Dir(S) = "" Then
MsgBox "File does not exist:" & vbCrLf & S, vbCritical, "Error"
Exit Sub
End If
gdt = Shell("""" & S & """", vbNormalFocus)

End With

ActiveSheet.Protect
ThisWorkbook.Protect
End Sub
What would the code be for a range of cells if doulbe clicked the range would be C11 thru C35

Also, I have a double click code for another symbol chart to open.

How, would this be used in the same manner if a coulmn or row were to apply on double click.

View 9 Replies View Related

Highlight On Double Click

Jan 1, 2010

here is what i am trying to accomplish:

on the worksheet there are six ranges...each range has three columns...the first is team name, the second is rep name, and the third is the metric being measured.

what i would like to happen is...

when a team name is double clicked in any one of the ranges, i would like all three cells (team name, rep name, and metric) to be boldfaced and have the cell interior change color for all instances across all six ranges that match the team name double clicked. when double clicked again, it should go back to original formatting.

likewise, when a rep name is double clicked in any one of the ranges, i would like all three cells (team name, rep name, and metric) to be boldfaced and have the cell interior change color for all instances across all six ranges that match the rep name double clicked. when double clicked again, it would go back to original format.

so for example, if i happen to click on a cell in the team column in the second range for "team a", all cells in each range (including the adjacent cells for rep and metric) would be highlighted.

View 9 Replies View Related

Macro To Run On Double Click

Feb 9, 2010

I have populated a listbox from a filtered list and when 'Double Clicking' a name I want a macro to run. All seems to be OK apart from it is not finding/returning any data; I know the data is there and I think it may be the way I'm referencing the listbox value;

Sub CopySignificant()

Dim DestSheet As Worksheet
Set DestSheet = Worksheets("Clients to Invoice")

Dim sRow As Long 'row index on source worksheet
Dim dRow As Long 'row index on destination worksheet
Dim sCount As Long
sCount = 0
dRow = 1...................

View 9 Replies View Related

Reverse Before Double Click

Sep 29, 2006

I am trying to create code so that when a cell in Column C (for example C1) is double clicked, it makes the font bold, italicized, blue and inserts a row below the double clicked cell. I am also trying to make it so that if the cell is double clicked again, it removes the bold, italics, blue and deletes the row that was previously inserted.

Private Sub Worksheet_BeforeDoubleClick _
(ByVal Target As Excel.Range, Cancel As Boolean)
If Target.Font.Bold Then
ActiveCell.Offset(1, 0).Rows("1:1").EntireRow.Select
Selection.Insert Shift:=xlDown
ActiveCell.Select
Cancel = True
If Not Target.Font.Bold Then
ActiveCell.Offset(1, 0).Rows("1:1").EntireRow.Select
Selection.Delete Shift:=xlUp
ActiveCell.Select
Cancel = True
End If
End If
End Sub

View 3 Replies View Related

Run Macro On Double Click

Oct 26, 2006

I want a X to be put in the activecell if empty or removed if already there. By searching this forum I found and read the article "Adding a Command Button to the Excel Right Click Pop-up Toolbar/Command Bar" and was able to add the code to do this to the right click sub menu. Is there a way to do the same thing by double clicking on the cell? This probably seems a bit nit pickey but I would just like for it to work using double click for my users. I wrote the following code to performe the action

Sub Toggle_Macro()
If IsEmpty(ActiveCell) = True Then
ActiveCell.Value = "X"
With Selection
.HorizontalAlignment = xlCenter
End With
With Selection.Font
.Name = "Arial"
.FontStyle = "Bold"
.Size = 12
.ColorIndex = 3
End With
Else: Selection.ClearContents
End If
End Sub

And placed the code below in Private Module of the Workbook Object.................

View 2 Replies View Related

Double Click On Cell To Run Macro

May 22, 2014

I am trying to run a macro when I double click on a certain cell (D34). The cell has data in it (Southeast NSC). What I am expecting to happen is once I double click on the cell the macro will run the retrieve and I will end up at expense chart page.

The macro I am trying to run is an Essbase retrieve.

[Code] ....

I tried using the macro below but no luck:

[Code] ....

And i tried:

[Code] ....

View 1 Replies View Related

Double Click Event Runs Twice?

Aug 18, 2014

I have set double click event to open my userform.

It opens normally, but when I try to close It, It opens again. After that I can close It normally.

I checked Userform code, but can't figure out why event triggers twice. What's wrong ??

This is my double click code :

[Code] ......

View 1 Replies View Related

Double Click Is Unlocking Worksheet

Dec 3, 2008

Testing my worksheet, I found that if I double click on any cell that is not locked, the worksheet becomes unprotected. I need to prevent this from happening. I tried the following code, but it didn't work.

View 6 Replies View Related

Double Click To Bring Up Form

Apr 6, 2009

I'm using a little sub routine to bring up a pop up calendar when i click in a cell, everythings lovely but it annoyingly comes up when i select a clolumn or row that also contains that cell. modification to require a double click to display the calendar?

View 2 Replies View Related

Shortcut Key That Acts Like A Double Click

Jun 15, 2009

In Excel is there a shortcut key the replaces using your mouse to double click to get into the cell?

View 2 Replies View Related

Double Click And Copy Data

Jun 16, 2009

I have a sheet with some 300 plus rows of data. I use filters to sort through the rows to get down to anywhere from 8 to 10 or so rows. At that point I would like to be able to select (doule click) a filtered row of 10 cells (A:J) copy the data and paste it to a different sheet starting with cell B18. I want to be able to perform this process up to 5 seperate times.

I have recorded a macro to do basically what I am trying but with many short falls. It only selects one row, I cannot double click on a row and it dosen't always paste to the proper cell.

View 14 Replies View Related

Disable Double Click Shortcut

Jul 10, 2009

When we double click between two cell it goes to the last entered cell. I would like to disable this through a macro. Can anyone pls provide me a code to disable this.

View 3 Replies View Related

Double Click To Activate Message Box

Sep 9, 2009

Double Click to Activate Message Box
modify my code to do the following:

View 2 Replies View Related

How To Double Click On A Cell In Column

Dec 5, 2011

I want to be able to double click on a cell in a column. If it has a certain word in it, it will take it to that worksheet. Auto filters are used so these cells can move in a column at any time. This is why I am looking for a code to validate the contents in the cell first.

ie. Cell has the word: BSALT, when double clicked it will take it to the BSALT worksheet.

Cell has the word MLW, when double clicked it will take it to the MLW worksheet.

And so on.

These values are in one column only. If they weren't able to be autofiltered i could do it, but the mere fact that they can move around is giving me trouble.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved