Hiding Userform Whilst Mouse Is Out?
Jan 27, 2012
I'm trying to use a non-modal userform as an application option board. Using API, the initial (Activate event) form transparency is set to 10%, and the Userform_MouseMove event turns it to 100%. The problem is that I need the transparency back to 10% (hiding it would be enough) whilst mouse remains outside the userform, and I've no idea of how I can get it.
View 5 Replies
ADVERTISEMENT
Dec 5, 2009
I have a User Form which i want to use in such a way that editing the worksheet directly is not disabled while the userform is running. I would also like to use the right button mouse menu(cut, cpy,paste) while i am using the user form. I am using two Monitors with my PC and i want to work with User Form on one monitor being able to edit worksheet without having to close my User Form.
View 2 Replies
View Related
Sep 16, 2007
I have seen some code around that allows scrolling in listboxes using the mousewheel. I have also seen some code here on the forums about scrolling through a combobox embedded in a workbook. I have tried adapting both of these to suit a combobox on a userform but I cannot get either to work.
Here is the code that I used for the embedded combobox; I added it to the base code for the userform
I then added the following code to a standard module as stated in the forum post;
In the first section of the code there is a msgbox that never gets shown so I don't think code is recognizing the mouse wheel at all.
The second set of code that I used was set up to work with a listbox and it works perfectly with a listbox control. The problem is I cannot adapt it to suit a combobox and if I use a breakpoint to see what is happening Excel freezes.
The following code is added to the userforms code;
Then in a standard module I added the following code;
I added this section of the code;
I think this should only work on a Combobox but a Combobox does not appear to support the TopIndex value. Is there a way this can be setup to work with a userform combobox?
Sorry about the huge amount of code.
View 9 Replies
View Related
Oct 9, 2008
I have a small userform with a ComboBox (ComboBox1) which, on a change event, kicks off another process. It's working fine, but the problem is that the userform hides immediately, and the open combobox remains visible while the second process starts running. It's only like that for about 5-7 seconds, but it doesn't look overly professional.
I'm using MS Excel 2007 on WinXP.
I tried putting in a sleep command or two, but that doesn't quite do the trick (the sleep is for 1 second).
View 2 Replies
View Related
Nov 30, 2006
I have 2 forms (A and B). Form B is initialized with values from a global array created in form A.
When closing the B form it's still visible.
I want it to dissapear.
The B form is opened from the A form
Private Sub cmd_ok_Click()
frm_B.Show
End Sub
When closing the B form it's still visible (modal)
'Within form B
Private Sub cmd_cancel_Click()
Unload Me
End Sub
View 9 Replies
View Related
Jun 12, 2013
1. I'm looking for a better way to get a UserForm (frmParts) to show right from the start as soon as I open the workbook while hiding the application. I use the following when I initialize the application:
Code:
Application.Visible = False
frmParts.Show
2. Later on, I add some parts to my inventory, but if I don't make the application visible, it doesn't save the data. So, I have to make it visible and then hide it again. Is there a right way to accomplish the save without having to unhide/hide the application? This is the applicable code I used (ComboBoxes & TextBoxes involved):
Code:
'copy the data to the database
Application.Visible = True
Application.ScreenUpdating = False
With ws 'ws=Inventory
[Code] ..........
View 1 Replies
View Related
Apr 18, 2006
I am not sure if this can be done or not. I am displaying a userform non-modally (Modeless). It will remain in place while the workbook is open. I know how to stop the form from being removed if the user clicks on the close box (the X in the top-righthand corner). What I would like is to stop the X displaying at all. I heard that it might be possible in the Properties box, but cannot see it in Excel 2000.
Even better would be if I could hide the entire header of the user form, so that I could simulate the look of placing controls within an Autoshape. (I am producing a project for users of Excel 2000 onwards, and I understand that placing controls directly in a worksheet can cause problems in other versions, so I must use forms.)
View 6 Replies
View Related
Sep 21, 2007
I created UserForm with one TextBox and "Close" Button. And it's works like a real-time search with my criteria. He is using AutoFilter to show what he found. And when I'm pressing Close Button the Focus isn't on Application, but on Hidden window (know because when I'm clicking alt+space form's menu shows).
To show window I'm using (running from hot-key):
DoCmd.OpenForm "UserForm1"
to hide
Private Sub CloseButton_Click()
UserForm1.Hide
End Sub
View 9 Replies
View Related
May 19, 2014
I need a code (and where to put it) to open my application excel with only the userform so, with the workbook hidden.
Application.Visible=False doesn't work because it close all excels and moreover I can see the workbook for 1 or 2 seconds before hiding.
View 1 Replies
View Related
Jul 15, 2013
I cant seem to get sumif to operate properly on cells that use weeknum and edate.
I am trying to create a weekly cashflow that utilses the week number a bill comes off in.
See attached workbookBook1.xlsx
View 1 Replies
View Related
Jan 25, 2008
I wish to protect a worksheet to prevent loose fingered people from altering formulas, but I want the "text box" that is below these formulas (within the same worksheet) to be able to be typed in.
But when I protect the worksheet, the text box cannot be typed in.
Is there a way around this to allow typing in the text box whilst the sheet is protected?
View 9 Replies
View Related
Mar 2, 2009
Cell A1 could contain either % value (eg 50.0%) or could contain a numeric value (eg 50.0). (It's input is written by a macro that performs a sorting function, hence the mix of % and absolutes).
I need to copy the contents of A1 to cell B1 with a simple formula "=A1"
The problem is that Cell B1 will either show 0.5 or 50.0 depending on whether A1 is a % or number, respectively.
Doesn anyone know how I can output in B1 with the format from A1?
View 9 Replies
View Related
Oct 21, 2013
I would like to reorder a list whilst ignoring any 0 values. I've attached (I hope correctly!) a spreadsheet of what I mean. It's pretty simple, but I've been banging my head over it for a while now!
Sample.xlsx
View 4 Replies
View Related
May 21, 2009
As part of a working spreadsheet there is a section which records faults by way of a numerical list in a dropdown menu. When a number is chosen the fault description appears in the adjacent cell. Is it possible when the mouse hovers over a number in the list the first 20 characters of the fault description could be shown before the fault number is chosen? The attached file is a simple example of the fault numbers and descriptions, in reality some of the faults have longer descriptions with more technical detail.
View 5 Replies
View Related
Jan 6, 2005
I'm trying to automate Disk Cleanup, Defrag and Backup via VBA but can't seem to get defrag to work...
Sub defrag_hard_drive()
Dim returnvalue
'exe file shell
[Code]....
View 3 Replies
View Related
Nov 25, 2008
I recorded one for an autofill series which basically came out as
View 4 Replies
View Related
Jun 24, 2013
I have a matrix of coordinates in sheet ("layout") (eastings - V4:BR4, northings - U5:U100). I'm trying to run through each northing (row value U5:U100), for every easting (V4:BR4), by writing the coordinate value to sheet("ISO_model"), cell K18. Within the sheet (ISO_model) there is a model which gives an output in cell HA500. I'd like to write this output (for the specific easting and northing) back into the sheet ("layout"), so that I then have the x,y, z values to create a contour plot.
I've tried to start the look through the row of eastings, but it is not working.
Sub noise_contour()
For Each Cell In Range("V4:BR4")
'write coordinate into the model
[Code]....
View 5 Replies
View Related
Feb 27, 2010
i have data in worksheet 2, a table with formulas using worksheet 2 in worksheet 1, i need to move the data in worksheet 2 to another worksheet, but if i use cut or copy and paste the formulas do not track its movement, so how do i move the data to another worksheet so the formulas know where it went? i thought if you could select the data and drag the data straight into another worksheet but how?
View 9 Replies
View Related
Jul 20, 2006
eg say you call (ie insert a range name) cell A1 "firstcell", B1 "secondcell", then A2 "divisor1" and B2 "divisor2". if you put a formula in A3 which is "=A1/A2", how do you copy and paste this formula into B3 but getting the formula to reference B1/B2 rather than firstcell/divisor1, as it does by default?
View 2 Replies
View Related
Jan 22, 2010
I have a formula I've been using for a long time which uses VLOOKUP to find results based on various reference cells, and then adds them up. To avoid errors caused by VLOOKUP not finding anything for one of the references I have also used ISERROR. The formula returns a blank if the calculation returns a zero.
I now need to bring further references in to the calculation but, using the format I have been, the formula is now too long. Here is my extensive formula:
View 3 Replies
View Related
Jul 17, 2013
I'm making a dashboard and currently using a camera tool to show a sheet in a different workbook.
However the camera shot should show the sheet for the current month. (the workbook contains 12 sheets one for each month)
I was trying to reference a cell within the dashboard workbook in the formula bar to select the correct month.
[Code] .....
This is the workbook being referenced and
[Code] ....
This is what I have to try select the sheet with the right month. W2 contains whatever month it currently is.
I get that this formula is wrong because I'm referencing a sheet/cell in the dashboard workbook right after calling the tracking workbook, I just don't know how to write it correctly.
View 3 Replies
View Related
Aug 1, 2012
I have a sheet in an excel workbook which I export to a separate file and then save as a text document, I need to remove the tabs in this file, however the file (example attached) needs to be in a certain format to be imported into a piece of equipment which has a proprietary file format. Part of this format is the 2nd row and 5th row must remain present and empty.
[URL]
View 4 Replies
View Related
Jan 26, 2009
Is there a way to have a picture set to a cell so when you put your mouse on it it will popup like the comments do.
View 2 Replies
View Related
Jan 20, 2012
I have a shape with a macro assigned to hide certain columns when clicked. I want to have a box pop up when you hover this button which explains what clicking the button will do.
I know the VBA code is called MouseMove but I am new to VBA and don't know where to even start.
View 7 Replies
View Related
Apr 11, 2007
I have a data base of hundreds of drawings all linked in Excel. In excel I just clik on the Hyperlinked file and it opens up in my cad program.
With so many files, in order to see exactly what I am opening I have to open it. This is just if the description is not clear.
Can I create a mouse over preview that would pop up a linked picture file or a jpg in an assigned box or free floating.
so when the user puts their mouse over the hyperlink number, without clicking it, a preview picture of the item will pop up right in the excel sheet.
View 9 Replies
View Related
May 24, 2007
is it posable to get a graph to popup when the mouse is draded over a certen cell? or maybe to get it to popup in the comments bubble. if that is possible. then is it possible to set pramators that if its above 350 it turns red( on a line graph) and if its below its turns black. this was throwen at my about 20 min ago.
View 8 Replies
View Related
Jun 27, 2007
Is it possible prevent the use mouse (disable mouse) while a macro is running? I made a program which starts with animation of Shapes. If you click on shape while macro is running it stops animation.
View 7 Replies
View Related
Mar 15, 2008
Is it possible to get mouseover information from outside of Excel using VBA? I'm trying to automate a non-microsoft package but I need my mouseclicks to wait for a message to appear within the other application before my macro continues. I've already asked something similar before but I've put a better title on this thread so apologies for the repeat.
View 2 Replies
View Related
Apr 22, 2008
I use Excel XP 2002. I now can't copy /paste by using the right mouse button. It works perfectly in other MS products, on the net and on the desktop. l have checked my Tools/Options with other users, I have uninstalled, rebooted and reinstalled the complete Excel package but the problem persists, even from start with a blank worksheet. I have also checked and there are no add-on ticked.
View 5 Replies
View Related
Apr 1, 2014
Is there a way to record the mouse movements within VBA. I essentially want to use excel to open an external program and execute specific commands within that program. Unfortunaetly the extrenal program is not a micorsoft program
View 1 Replies
View Related