Displaying A Form While Allowing Sheet To Be Editable
May 4, 2009
i want to do the following: initialize a sheet by showing form1, which accepts user input for rows and cols name a range on the sheet of size rows x cols display form2 which is just a "DONE" button that they click when they're finished pause/stop the macros and allow the user to fill in values for that range start up some other macros when they press the "DONE" button.
i tried it and found that when you display a form it locks the sheet (can't select the sheet to input values) and you can't even alt tab away from the form. is there a way around this?
View 2 Replies
ADVERTISEMENT
Jun 5, 2014
I have a worksheet with lots of things going on... the end user needs access to the Name field, DOB field, all the scroll and form control option buttons in the 9-question sheet, and the macro-enabled reset button at the bottom. Formulas are sprinkled throughout the worksheet, in columns T through AC... option button links go to AA and AB.
I would like to protect the entire sheet so none of the fields, except where indicated above, could be selected or edited... but when I protect the sheet, I get errors when trying to use you form controls, and the formulas do not respond. And finally, when protected, I get a debug error on the reset macro.
View 2 Replies
View Related
Jun 6, 2014
I have a data in excel sheet in Table format, in the first column i have added a unique Prod_ID. In form there is a search text box by entering the Prod ID & click of search button i need to display the respective row along with the Headers.
View 1 Replies
View Related
May 27, 2009
I have created a form that converts latitude / longitude from Decimal Degrees to Degrees Minutes Seconds decimal seconds. I want my coworkers to be able to use the form, but I don't want them to see the excel window/worksheet when they open it up.... I thought I had received an email once that appeared to be an excel file but when you opened it, it was just a form. I have tried all I can think of to no avail.
View 3 Replies
View Related
Jan 18, 2009
When you have 0 divided by 0 if there a way to show 0 instead of the div/o error message. The reason I want to know if that I have a spreadsheet for peoples efficiency during the week which feeds into another sheet to provide a monthly/yearly totals and who is the best and worst, but if there on holiday for a week or two the feed does not work as the error message does not allow the other sheet to calculate.
View 7 Replies
View Related
May 5, 2014
I have the following macro so that we can use the outline feature without having to unprotect a sheet.
Private Sub Workbook_Open()
With Worksheets("Schedule")
.Protect Password:="APQP", Userinterfaceonly:=True[code]....
However once the macro is run, filtering will not work without unprotecting the sheet first. If you choose not to run the macro, filtering will work without unprotecting the sheet however the outline feature will not. what I need to add and where to make both the outline and filter features to work without having to unptotect the sheet?
View 1 Replies
View Related
Nov 16, 2009
I want my macro to protect my sheet again after it is done to allow editing objects and formatting rows. I am really stuck and have come up with the below, but it isn't working.
View 5 Replies
View Related
Mar 31, 2009
I'm missing something in my UserForm initialization code. If I fill the form out once and click 'OK' (run the code to put the form data into a sheet), when I go back into the form all the old info is still there. If I then click 'Cancel' (Unload Me) and reopen the form, the old data is cleared out. What am I missing to make it clear it out the first time?
View 2 Replies
View Related
Aug 7, 2006
I want to create a editable textbox in a UserForm like a MS WORD that the user can edit the text (font, color, size, align...). This text will be show in a label or textbox in other UserForm in a programmable time if no user interference.
this programmable time is already soon.
View 9 Replies
View Related
Dec 13, 2011
I am trying to create an easy to use document that allows users to click a button to add or subtract to another cell in my document. I have the basic functionality working, but am now working on making this more fool proof.
Basically what my macro does now is when user doubleclicks C1, 1 is added to B1. When user doubleclicks D1, 1 is subtracted from D1.
What I'd like to do is to protect C1 and D1 so that they can only be clicked to add or subtract, and not clicked as to edit the individual cell content (C1 and D1). B1 should still be unprotected so that the user can manually enter a number.
If possible I'd also like to change the below macro so it works with single clicks instead of double clicks, but this is not essential.
My document consists of several worksheets, and right now I am using the macro on each individual worksheet. If there is any way of modifying the macro so it works with the entire workbook instead of having a copy with each worksheet, that would be nice as well.
Code:
Private Sub Worksheet_BeforeDoubleClick(ByVal _
Target As Range, Cancel As Boolean)
If (Target.Row >= 1 And Target.Row
View 3 Replies
View Related
May 26, 2012
I have a worksheet that has a months worth of data on it. The sheet is divided into sections with each day of the month being given 10 rows. So day 1 of the month will occupy rows 1 to 10, day 2 rows 11 to 20 and so on.
In each of these sectors, I would like to have an editable tick list that displays when a certain cell is selected. For example in day 1, selecting cell A3 will display the tick box. If I need a tick list for each day, would I need to create a fresh userform for each day or is it possible to have just one form and have excel remember the setting.
View 9 Replies
View Related
Mar 5, 2013
I never would have looked for this solution in Excel, but was forwarded a US map in excel with all state outlines and fill colors. It allow me to make simple sales territory maps- but I need to add Canada.
I don't have to add Canada to my existing map... if I could find North America altogether I'd start over.
View 4 Replies
View Related
Jan 8, 2009
Is there a command or macro to display the name of a sheet in a cell?
I know how to do it in a header or footer, but not in a cell.
I need to copy the name that appears at the bottom of a spreadsheet in a cell at the top -- no need to reference the name of a different sheet, just the same one the cell is on.
View 9 Replies
View Related
Aug 5, 2006
I have several worksheets of data, and one sheet that I wish to serve as a summary. I have the following function on this summary sheet: =MIN(Sheet2:Sheet4!C1)
This displays the minimum value for the given range, however I don't want the value, I want to know which sheet is was found on...so instead of 3 it might say Sheet2 if Sheet2 containded 3. I've spent quite a while trying other solutions to other similar problems but I just can't figure this out; and I don't have the experience to code a solution myself.
View 8 Replies
View Related
Oct 21, 2008
I am seeking a method of collecting data from one sheet in a workbook and displaying it on another, based on a search.
e.g.
Sheet1
Garcia Joe 11111
Garcia Matt 22222
Hernandez Efrain 33333
Matias Jorge 44444
What I want to do is to have Sheet2 be a query for Sheet1--that is, in a cell in Sheet2, the user can type 'Garcia' into a cell and thus display the matching entries from Sheet1, e.g.
Sheet2
'Garcia' displays
Garcia Joe 11111
Garcia Matt 22222
View 11 Replies
View Related
Feb 9, 2010
I have a list of client names with their respective numbers on a sheet 1 and I have a list of jumbled client names with the names repeated in the next sheet 2. I would like to retrieve the client number from the data sheet and display the number for that respective client name in the second sheet
Sheet 1:
Client Number Client Name
1 David
2 Tom
3 Suzan
4 Richard
Sheet 2:
Client Name Client Number
Richard
Tom
David
Suzan
Richard
Tom
David
I want the program to retrieve the client number for the names from sheet 1 and display it accordingly in sheet 2. For eg:- it should retrieve Richard's client number as 4 from sheet 1 and display digit 4 next to richard's name in the client number column. I have attached the sample document.
View 3 Replies
View Related
Dec 24, 2009
display a sheet in the following format using excel vba ....
View 9 Replies
View Related
Mar 7, 2009
I'm Seeking in InRegards To Working Out How To Display Multiple Leaders Within The Same Cell Based Apon There Score In A Game Of Golf, Or If This Cant Be Done Perhaps A Message Saying "Multiple Leaders" So That It Is Known That Its Not Just The One Persons Name That Is Been Displayed. I Have Attatched The Document I Have Been Playing With While Trying To Work It Out Before Making A Big Sheet.
As You Will See "Daniel" And "Paul" Both Have The Same Score, And Below In The Summary It IS Currently Only Showing "Daniel" As The Scratch Leader, Is There A Way Of Getting It To Show Them Both As A Leader, EG: "Daniel, Paul", Or As Said efore Just Saying "Multiple Leaders" Thus Having To Manual Go Through Them ( The Fist Option Would Be Better As There Will Be Approx 85 Names In The Final Sheet)
View 5 Replies
View Related
Mar 12, 2009
I get some records from XML and display in the sheet. Now, I need to put an image for each record in the sheet while displaying records. And also on click of the image I need to have some code to be executed.
View 5 Replies
View Related
Oct 11, 2013
Any way to always include the sheet name before the cell address in a formula? For example, in my "Summary" sheet, I have a formula:
Code:
=A2 + B4/B5
However, without typing anything else, I'd like the formula to populate the sheet name since I will be extracting the formula as text and need the full reference:
Code:
=Summary!A2 + Summary!B4/Summary!B5
A way to get around this is to enter the equal sign, then temporarily select another sheet, then go back to the "Summary" sheet where all cell references will include the sheet name, but if there is a quicker way to do it using some kind of property or event in VBA, that would be ideal.
View 1 Replies
View Related
Dec 16, 2009
I have a spread sheet where i want to display help text when cells are activated. I do not want to use comments as i both do not like the red triangle and also have not found a way to controll the position of the text box. When I use the event Worksheet_SelectionChange I can display a custom box but the box "retains focus" and i can not enter the data until i "reclick" on the cell in the sheet. The box then goes away when i select another cell. Is there a way to fix this or a different method entirely. I am using Excel 2007.
View 9 Replies
View Related
Feb 12, 2010
I am indexing dates from one workbook to another.
There are some blanks in the list that I am using, and I need to the blanks to stay as blanks in the sheet that I am indexing to, however they are displayng as 00/01/1900.
View 4 Replies
View Related
Apr 13, 2012
I have two work sheets as-
Sheet1
idnameclassscores
1abc280
2efg276
3hij555
8klm478
9mno490
Sheet 2
nameschooldate of admission
abcpublic school2/9/2011
efgpublic school3/4/2010
hijprivate school5/9/2011
klmprivate school8/9/2011
mnoprivate school9/10/2011
now what i want is - on sheet 3 compiled data as-
idnameclassscoresschooldate of formation
View 1 Replies
View Related
Dec 31, 2013
I have an excel sheet which looks similar to below and with some more columns.
HTML Code:
AreaBranchEmpolyeesProductsShelfs
Area1Area1 Branch110Product 110
Area1Area1 Branch25Product 16
Area1Area1 Branch38Product 28
[Code] ......
I want to have data in other sheet With respect to Product details. Where It gives me the count of Product 1 and so on.
I am able to get the count using countif function and it displays like below.
HTML Code:
Product Count
Product 16
Product 28
Product 34
Product 49
Product 510
Product 68
Product 78
Product 89
Product 97
Product 108
What I want is when I select "Product 1" It should display some selected columns data from sheet where complete data is available.
HTML Code:
Branch Empolyees Other
Area1 Branch1 10 abc
Area1 Branch2 5 xyz
Area1 Branch5 7 pqr
Area2 Branch5 5 wxy
Which function we can use. I tried Vlookup but was not successfull.
View 14 Replies
View Related
Mar 6, 2014
I am running excel 2010 with windows 7. I created a macro in sheet 1 and I wish to activate the macro from sheet 2 using a form button. I have entered the code below. I know how to perform this function on a more simple macro like adding names to cells. This code is a bit more complex I just dont know where to start.
Code:
Sub LoanData()
'
' LoanData Macro
[Code].....
View 3 Replies
View Related
Dec 29, 2007
how I populate a form with values from a row in my excel sheet that i selected in a multicolumn textbox.
My "tool" works like this... The user opens the excel file and can choose one of two buttons, Add defect and Find defect. When the Add button is clicked Form1 is opened and the user fills in a number of fields which are then inserted into an excel sheet (same book though). Then there's the Find button. When the user clicks this button Form2 opens with a multicolumn textbox that displays some of the columns with some of the previously inserted information. Now I would like to be able to select one row and get Form1 populated with the values for that particular row. The user should then be able to change some of the values and the changes should be inserted back into the correct row in my excel sheet. How in the world do I do this??? Right now I just open my Form1 when I select a row and click an OK button. How do I get the values from my excel sheet back into my fields?I've tried to copy code from an example I found, but I can't get it to work.
My first form where I add my data
Private Sub UserForm1_Initialize()
Dim rIds As Range
Dim MaxId As Long
Set rIds = Worksheets("Systemtest").Range(Cells(1, 1), Cells(Rows.Count, 1).End(xlUp))
MaxId = Application.WorksheetFunction.Max(rIds)
With Me
.IdBox.Value = MaxId
View 9 Replies
View Related
Nov 5, 2008
Just created 1800 sheets by not closing a loop, just wondering if anyone has a quick solution to delete all of these apart from the first three.
View 4 Replies
View Related
Apr 23, 2009
I would like to be able to add data to a protected sheet, only from a form without unprotecting the sheet first. Below is the code.
View 5 Replies
View Related
Oct 12, 2009
I've created the form and formatted everythig as I need it but now I am clueless how to make the command button (enter data) post the data to the appropriate cells in my spreadsheet. I especially need the data to find the first empty row so that it doesn't overwrite the previously entered information.
View 11 Replies
View Related
May 11, 2012
I work in a hospital laboratory and we are performing an antibiotic study. I have a work book consisting of 2 sheets
1 sheet is a list 7 antibiotics in a column for a1 to a8
2 sheet is a blank results sheet
What I want to do is print out the blank result sheet once for every antibiotic on sheet 1 with the name of the antibiotic in sheet 2 pos "a,1"
I have copied the blank 7 times and linked to the antibiotic list but this seems very untidy.
Is there a way to print out 7 identical sheet2's differing only by reference to sheet 1 a1 to a8.
View 1 Replies
View Related