Opening Up Profiles Upon Clicking On The Personnel's Name
Oct 4, 2009
I have this data sheet with 7 personnels name in it. What I require is that upon clicking on the name of the person, the profiles that are attached to this person will open up.
Before any name is clicked, these sheets should not be visible to the user and upon clicking on the other names, the sheets that was previously open will disappear.
I was hoping that someone might be able to help me with a current problem that I am facing in my work center. Periodically we have personnel check-in on given day and then later check-out on a specified day. Is it possible to graph/predict/forecast our personnel losses in our department using a chart in excel? Or at least be able to know how many people we will be losing on any week...?
I have attached a sample worksheet of data with columns labeled Name, Gains, Losses.
Columns explained:
1) Name: Name of Incoming Personnel 2) Gains: Date that Personnel Arrived/Checked In 3) Losses: Date that Personnel will Check out
I have a work book that contains 10sheets. considering one as main sheet remaning as sub sheets. I want to open main sheet from all other remaining sheets using a common button.when I tried normally is shows compile error: Ambiguous name detected. Any other way to solve it.
I have a need to open a file from my companies intranet. My current method was to open said file via the method that the recorder gave me. However, I would like ot be able to open a said file without having to start open another workbook.
This is the path: [url]
So the command is this: Workbooks.Open [url]
Links are not actual links
So what I need to know. Is how can I open this file without opening a workbook. I haven't been able to use the VB "Open Statement" to open a file and I don't believe that I've been successfull using the Filesystem object either.
I have a lot of text in a cell and I want to create a Hyperlink using only 2 or 3 words and not the whole text. Unfortunately, it seems as though the hyperlink can only be from the cell itself. Is it possible with Excel to create a Hyperlink from a section of text in a cell, and NOT from the cell itself?
I'm trying to make a code so that when optionbutton1 is checked, it allows you to right click to select a cell, then right click on a different cell and select that cell as well as the previous cell, etc. Here's What I have so far.
I would like to run a macro by clicking a cell. I don't want a toolbar button/menu item and Hyperlinks don't work. Can this be done?
More info: My macro selects the current row in Sheet A and moves it (cut & Paste) to Sheet B in the workbook. The macro then goes back to Sheet A and deletes the now blank row.
Above is the formula that I have, I am putting it into Column L. When I do auto fill every row that has data in J and K the formula goes into as you would expect.
However the formula does not activate until I double click inside each individual row and hit enter. Therefore if the calculation in L4 was 1.0, then 1.0 will appear as the calculation in every row of Column L until I double click in each row individually and press enter.
i got the userform to popup when the workbook is open and the buttons work fine... only problem is when i click on a button, it will ask the user yes or no... if the user press yes, it performs the required macro without any problem... but when the user press no, not only it will close the question, but also closes the userform... I would like the 'no' to close the question but not the userform...
I have a chart that I just added some dynamic text boxes to. That is the text is linked to a cell so that the text is automatically updated.
I also have a scroll bar that is used to adjust one of the cells. However, now once I click on the scroll bar it just disappears. I can click on the space where it is located and it will appear for a split second. Also, if I scroll down in the worksheet and then back up over the scroll bar the image will be refreshed and I can see the scroll bar again.
I didn’t have this problem until I added the dynamic text boxes, it worked fine with static text boxes.
Does anyone have any idea how to get around this, or do I have to stick with the static text boxes?
i have made (found) a way to change the data in a cell by clicking on it, however i can only make it go from 1 to 0 or 0 to 1...heres the VB Private Sub Worksheet_SelectionChange(ByVal Target As Range) On Error Resume Next If (ActiveCell.Value = 1) Then ActiveCell.Value = "" Else: If (ActiveCell.Value = "") Then ActiveCell.Value = 1 End If End If End Sub
however, i would like the code to do a different task, i would like it to add one to the number everytime you click on it...i.e. it goes from 1 to 2 to 3 to 4 to 5 etc. everytime you click on it...
if it is possible, i would also like it to be restricted to a few cells, which i can determine afterwards and change
I've included the code I'm using to calculate the net weight depending on which option button is selected. I use a flag ("VLAG") to know whether it's the first time the button is pressed. All variables are DIMmed at initialization (different sub).
By using other flags, I can see the code runs perfectly, but the tare weight ("TARRA") is not incremented each time the button is pressed. The formula I'm using to increment is
I'm trying to do. I have 2 columns, both have empty cells with borders. I would like to make it so that when the user clicks one of the cells, it turns grey and the one beside it turns white. I set up two macros as follows:
I want to make it possible to refresh a particular sheet on clicking a button. i can create the button and even assign the macro. but the code for macro, to refresh i don't know how to generate the code.
I have some problems with VBA. So the problem is that there is this page Page (if you want to get to this page with the program you have to write "Krateris" into the msgbox) and I want that the program would click the link in the first result or selected result
So this code is working just I need to expand it to get the result which I wrote above. I am writing this code in module not in worksheet.
Code: Sub test()
Dim btnInput As Object Dim IE As InternetExplorer
Set IE = CreateObject("InternetExplorer.Application") company = InputBox("write company name")
I have a spreadsheet with formulas in column C, D, E, F and G. The only numbers I need to enter are in columns A and B. The formula in column C comes from the =SUM(B1/A1) Column D is calculated based on the result of column C, etc...
How can I set up the spreadsheet so that when I enter the data in column A and B, everything else calculates automatically; without having to double click and press enter in each cell?
My Goal: To put data (numbers) in Column A and B and than have C, D, E, F and G calculate by themselves without clicking.
I have created a macro that autofilter values in sheet 2.
In sheet1 I have a cocpit of values from Sheet 2, 3, 4 and 5.
In the monitoring cells in Sheet1 I would like to doubleclick (or similar) in the cell where I have a value from ex sheet 2, and then trigger the macro which does the autofiltering.
I have created a userform, (my first one)-very simple form, i have created a massive textbox, so when i doubleclick a cell in Sheet 1, userform pops up and I can write comments.
I am not sure how to write a code for this? I know it will have Private Sub Doubleclick, not sure on the rest?
I have programmed a Form in VBA that initializes by clicking a button on a worksheet. The Form features combo boxes, text fields, and a couple option buttons. Once completed, the Form enters the values entered by the user (as strings) in contiguous colums in a single row. The worksheet is locked so as to not allow users to input values into the worksheet directly and bypass the Form.
The question: Once a row is filled by submitting the Form, i want to allow a click event on that cell (like double-clicking, for example) to pop-up the Form, but containing the corresponding values from the cells in the matching combo boxes, text fields, option buttons. I want to do this so that I can allow modification on a row without letting the worksheet be modifyable without passing through the Form. Here's the code for submitting the Form values into the worksheet:
Private Sub cmdSubmit_Click() ActiveWorkbook.Sheets("ALTEC Growth Report").Activate Range("A7").Select Do If IsEmpty(ActiveCell) = False Then ActiveCell.Offset(1, 0).Select End If Loop Until IsEmpty(ActiveCell) = True ActiveCell.Value = Trim$(txtName.Value) ActiveCell.Offset(0, 1) = cboCC.Value ActiveCell.Offset(0, 2) = cboProdServ.Value ActiveCell.Offset(0, 3) = cboStatus.Value ..................
I want to display a comment/note that is always visible however:
*The text in the comment should change "only when" the user of my worksheet "clicks" on a specific cell in the worksheet; *I do not want that a comment appears/disappears/ changes when the mouse moves over any of the cells *I do want that the same comment/note is used to display different text when the user clicks on another cell in the worksheet *I do want that the user can position this comment on his screen where he wants it to be.
In my excel file, I have a cell with a hyperlink which points to an intranet portal. When I copy the hyperlink and paste it in the browser's address bar, the site opens. But when I directly try to open from the excel, by clicking on the cell, it redirects to a wrong URL and eventually does open the site.
In any open (new or existing) workbook (Excel 2007), I cannot delete a column by right clicking the column header and highlighting the entire column. The "delete" word is greyed out and not selectable. I CAN however still delete a column by going to the "Cells" toolbar, then "Delete" pulldown menu, then "Delete Sheet Columns". Right clicking the column header is much simpler and easier.
BTW, I can still delete rows by both methods of right clicking on the row header and by going to the Cells toolbar.
I'd like to hide all worksheets and in the excel there is only one visible sheet which is Navigation Page. I want to add several buttons on this sheet and each button will be clicked to call the other sheets.
For example, there is a sheet called Sales_Approval_Form and I'd like to add a button on navigation page called Sales Approval Form and when the user clicks the button the sheet will be open for entering data.
I need to make the Red X at the top firght of my user form "End" rather than "Exit Sub" which I think it is trying to do now, as simply exitting the sub returns it to the previous sub which opens the form again.