Allow Users To Fill In Only Particular Ranges Of Cell

Feb 19, 2008

I'm not an Excel expert and I'm wondering whether to protect an Excel workbook in order to allow users to modify only specific cells in the sheets.

Also, each user should modify only his related sheet whitout permission to modify the ones created for the other users.

View 9 Replies


ADVERTISEMENT

Allow Users To Edit Ranges?

Jan 2, 2014

I have a sheet which has many columns in it, all columns are protected except column B. When I want to enter data always I have to insert a column in column B. When I clicked insert button, my B column move to C and B column become protected and C become unprotected. My query is always I want B column should be protected (even if i clicked on insert column button too).

View 1 Replies View Related

Allow Users To Edit Ranges Not Working After Running Macro?

Feb 14, 2013

I have a sheet that I have added protection to (Tools / Protection / Protect Sheet) with a password (PostItNote). Before I protect the sheet I have allowed users to edit ranges (Tools / Protection / Allow Users To Edit Ranges). I have made my selection of the cells that users are allowed to edit and protected the sheet. I now want to run a macro that will un-protect the sheet (in order to allow the macro to edit the protected cells) make some changes and then re-protect the sheet. The macro runs as it should do but when it stops I am unable to edit the cells that I allowed users to edit? For some reason the areas that I enabled users to edit have been changed allowing users to only edit far less cells that I originally set!

Here is my macro code that I am running:

[Code] ......

View 2 Replies View Related

MonthView Control Can Be Set To Allow Users To Select Multiple Ranges And Enter Different Dates

Dec 4, 2013

If MonthView control can be set to allow users to select multiple ranges and enter different dates into those ranges? I know I was able to do with with the previous Datepicker control and I thought it was as easy as setting the Show Modal property to true.

View 1 Replies View Related

Fill Ranges ..

Jan 31, 2008

My range is the five columns from A1:E50 , i want to fill every column range with "X" letter 40 times in every column in condition every row will has the same number of "X"'s It means that if i counta (A1:A50) it will be 40 and ..

View 9 Replies View Related

Fill Ranges Via Lookup

Dec 26, 2006

on the attached file I has three columns code; day; Trays. I want in G3:G9, by ascending order, all diferent days from the code C, I can avoid like this, that the users type that information. and so on G12:G18; etc.

View 2 Replies View Related

Fill ComboBox With Names Of Named Ranges

Mar 5, 2008

The combobox is on a userform. This is the code I'm using to populate the Combobox

For Each nName In ThisWorkbook. Names
ComboBox3.AddItem nName.Name
Next nName

I tried to your reply but i get a object error

View 5 Replies View Related

Update Multiple ComboBox List Fill Ranges

Feb 21, 2008

in A1 there will be a box with LinkedCell set to A1 and ListFillRange set to B1:B5. I now want a similar box in A2, with A2 as LinkedCell. However, when I copy paste the box in A1, it still refers to A1 and B1:B5 (the last part is ok). I can easily change A1 to A2 by just changing it in the properties, but the thing is that I also need these boxes in A3:A100. Someone else helped me out by writing some code, but this is not working correctly yet, probably because I'm doing something wrong.

Also, the ListFillRange might expand in the future. Therefor I would like to know if its possible to select the boxes in A1:A100 and change the ListFillRange to B1:B6 for all at once, or even have a piece of code attached to a command button that recognizes the expanded range and updates it.

I couldn't attach the file because it was to big, therefor I uploaded it with yousendit:
[url]

So in short: I would like all the comboboxes in column E to be linked to the cell underneath and have and option to adjust the listfillrange. The same for column F, but for this one the listfillrange needs to be O8:O11.

View 9 Replies View Related

Fill/Populate ListBox From 2 Ranges, Sort & Remove Blanks

May 18, 2008

I need a listbox or combobox in an excel form whos list is created from 2 ranges. for example first name is range a2:a500 second name is rangne b2:b500. the list box should list both coloums in a single list and return the row number. better still if it does not list blank ranges. i have never used a list or combo box before so please explain in terms a simplton can undrstand

View 7 Replies View Related

Unprotected Cell Will Not Allow Users To Highlight

May 28, 2009

I have certain cells that are unprotected but still will not allow the user to highlight "Fill" the cell. The can only edit or type in the cell.

How can I allow a unprotected cell to also be filled with color by a user on a protected worksheet?

View 2 Replies View Related

Allow To Users To Enter A Cell In The Worksheet

Jan 26, 2009

Function Dice(DiOne, DiTwo) As Double
Dim sum As Integer
Dim DiOne, DiTwo As Integer
Dim Odds As Double
DiSum = DiOne + DiTwo

Select Case sum
Case Is = 2
Odds = 1 / 36
Case Is = 3
Odds = 1 / 36
Case Is = 4
Odds = 2 / 36
Case Is = 5
Odds = 2 / 36
Case Is = 6
Odds = 3 / 36
Case Is = 7
Odds = 2 / 36
Case Is = 8
Odds = 3 / 36
Case Is = 9
Odds = 2 / 36
Case Is = 10
Odds = 2 / 36
Case Is = 11
Odds = 1 / 36
Case Else
Odds = 1 / 36
End Select

Dice = Odds

End Function

I'm trying to allow users to enter a cell in the worksheet and type =dice(number, number) and it calculate the probability of that amount coming from two rolls of a dice...

I'd like people to be able to use this just as though it was the SUM or VLOOKUP functions....

View 9 Replies View Related

Stop Users From Selecting Another Cell Until Current Selection Receives Data

Jul 21, 2009

Amongst the several sheets contained in my workbook, there is one called 'Inspection Report'. Users fill in whatever data is required in the other sheets, and once they get to this one, they are supposed to enter a number from 1 to 3 into Cell X1 (which is currently selected) before they select anything else. Unfortunately, I am currently unable to stop them from doing what they should not be doing.

So, I would like to have a notification of some sort pop up into their face if they click or move the selection anywhere else while Cell X1 is still empty. Something like a validation would be nice.

View 6 Replies View Related

VBA - Cell - Fill Or No Fill?

Jul 13, 2012

I'm trying to loop through a list of about 1300 items and copy the rows where one of the cells has a fill color to 2 different sheets in the same workbook. If there's no fill color, the row moves to a different sheet.

My code is determining that all cells have a fill.

For Each cell In Range("Classification")
If cell.Interior.Color blank Then
cell.Select
Range(Selection, Selection.Offset(0, -9)).Copy Destination:=Range("Compliance")
Range(Selection.Offset(0, -5), Selection.Offset(0, -9)).Copy Destination:=Range("Mstar")
Else
cell.Select
Range(Selection, Selection.Offset(0, -9)).Copy Destination:=Range("RP")
End If
Next cell

View 3 Replies View Related

Excel 2007 :: Conditionally Format Cell To Have The Fill Color Of Different Cell

May 25, 2011

I have a spread sheet and I want to conditionally format rows to be a certain color. That part I'm fine with. But I don't want them to be a set color. I have a "key" of different colored cells that I want to be the fill colors of the formatting. The ultimate goal is that for example the key looked like this

red
blue
yellow
green

then the rows I had would be formatted as red, blue, yellow, and green. But if you were to go into the key and change the first cell from red to purple, then the rows would become formatted as purple, blue, yellow, and green. Obviously I can copy formating by hand using the format painter, but I want it to update automatically.

View 4 Replies View Related

Auto Fill Formula Every Nth Cell And Lookup Value Every Nth Cell In Source?

Dec 19, 2013

Source tab contains vital information about some clients.

In the aggregated tab (Cell C10) I created a formula that pulls the Inflows from the source in a very specific array. So for client 1, this works fine. Now, if i copy my formula to the client 2 (Cell C14), it obviously wont go and look in the correct array in my source.

What i need to do is to be able to copy/paste my formula

[Code].....

(from cells C10 to CC10) to cells C14 to CC14, but when copied, the look up array changes to:

Formula: [Code] ....

I will have to fill this formula to at least 100 entries down, so i need to make it work with ease

The good thing is that all look up values in the source increase by a fixed number of rows (12). I tried playing with index/rows formula.. no luck..

Attached File : samplev1.xlsx‎

View 1 Replies View Related

Fill Cell With Next Consecutive Number If Another Cell Has Data Entered?

Aug 16, 2012

I need to achieve the situation below with a formula. I have tried simply doing, for example, = B3+1 but this throws an error, probably because the value being checked is alphanumeric.

Data
A001

Data
A002

Add next number (A003) when data entered in cell to left

View 2 Replies View Related

Excel 2010 :: Display Cell Ranges From Multiple Locations Based On 2 Cell Values?

Jun 4, 2013

I need to display a set of cells based on the value of two drop down cells i have. As I am not very good at english and worse at explinations, I'll try via screen shots...

I have two dropdowns (C4 and C6) that will indicate what table to use (Second sheet / screenshot). I want that "table" to display in the yellow box on the first page. To complicate matters, some options do not have a CLA option - those starting with X. As there are 24 different outcomes and each is 3x9 if/then statements just dont seem to cut it.

P.S. I have excel 2010 and windows 7

View 1 Replies View Related

Can I Fill Non-adjacent Cells With The Fill Feature? (example Listed)

Nov 7, 2008

how to enter data in non-adjacent cells using a fill command.

Here is what I am trying to do:
in the column, I am holding ctrl button to select every 10th cell down the sheet. I need to enter a date in every selected cell that is exactly 7 days apart, i.e., 11/7/08 then 11/14/08 then 11/21/08, etc.... but no other dates or data.

I have tried to figure out a way to do this other than manually, but am confounded.

View 9 Replies View Related

Formula For Cell Fill Based On Data In Another Cell?

Dec 20, 2013

How do I write this formulae ??

For cell range M6:AV6 fill with N/R If the data in cell D1 = Wont have

View 5 Replies View Related

Changing Cell Fill Colour Based On Another Cell Value

Oct 2, 2008

I have a table:......

I want to colour in the relevant cells for each ref depending on the numbers in the stage column. So for the first line, the cells in columns 1,2,4&6 need to be shaded in. For the second line, the cells in columns 1,2,3,4,&5 need to be shaded in. I already have a lot of conditional formatting set on the sheet so need to do this with a macro.

I have tried to write something but am having issues with it finding the 1 and shading in the correct column but then jumping out of the loop and on to the next cell.

View 4 Replies View Related

Fill An Empty Cell With First Data Cell In The Same Column, Next Row(s) Down

Sep 19, 2009

I am looking for advice on how to move cells containing data (columns D to K in EXAMPLE A), upwards so that the information lines up with data already existing in columns A to C (to be included as part of an overall VBA routine).

In the upper example data in cell D2 needs to move upto D1, E3 to E1, F4 to F1, G7 to G1 etc and K9 to K1. Now, data on following rows is to move upto row 2 eg: E5 to E2, F6 to F2, G8 to G2.

The first 'block' of data starts at row 1 and finishes in this case at row 9.
The next 'block' of data starts at row 10 and finishes at row 18.
Row 19 shown is the start of the next 'block'. These 'blocks' may have upto 20 rows ....

View 11 Replies View Related

Move Ranges To Corresponding Ranges Based On Column Having Data

Oct 25, 2007

I need help creating a macro that will search through my excel spreadsheet and for every instance where column A isn't empty it should cut a range of columns from that row and paste them in a different range of columns in the row before it. It should then delete the row that it cut the columns from and keep searching until it has done this for the whole worksheet. I can modify which range of columns are needed, but it has been so long since I've worked with excel macros that I haven't been able to do it.

View 5 Replies View Related

Auto Fill After Inserting Row Without Using Fill Handle?

Apr 30, 2014

Is there anyway to automatically fill the empty added cell after inserting a row without using the fill handle? For example, for a series of numbers: [URL]

2. Drag the fill handle Selected cell with fill handle across the range that you want to fill.

Or running balance: [URL]

2. Extend the running balance formula into the new rows by selecting the last cell in the balance column and then double-clicking the fill handle.

View 6 Replies View Related

Auto Fill A Cell From Input From Another Cell

Sep 6, 2007

I would like to auto populate a cell (A2) due to the input results from another (A1).
For example, if I enter A1 with "100%" then I want A2 to auto populate with "Complete". And just the same for other percentages; if A1 was input with any range from 1% to 99% it would populate A2 with "In Progress". And if A1 was to equal 0% then A2 would be "Not Started".

View 10 Replies View Related

Mandatory Cell Fill In Before Moving To Next Cell

Mar 8, 2013

I have a worksheet with running macros which hides & unhide rows based on input of data in yellow highlighted cells (see attached). I'm trying to make all cells mandatory. The below code works but I run into problems when certain cells made mandatory are hidden. For example if I select "Expense" as Type of Expenditure in the attachment cell C10 & C11 are hidden so if its mandatory I won't be able to move forward to next cell.

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Application.EnableEvents = False
Me.Unprotect "dawnwh81"
Dim myCell As Range
Dim myRange As Range

[Code]....

View 2 Replies View Related

IF Statement (fill A Cell With Either 'YES' Or 'NO' Depending On The Value Of One Cell)

Oct 10, 2008

i'm trying to ask my spreadsheet to fill a cell with either 'YES' or 'NO' depending on the value of one cell. I've succeeded in getting it to enter 'YES' but can't figure out how to tell it to choose between the two options. This is the formula so far

=IF(L5>2,"YES")

View 3 Replies View Related

Automatically Fill Cell Value Based On Another Cell

Dec 2, 2008

I have certain values in cell B4 to B2000. There are 25 unique values in those cells. In cells A4 to A2000 I would like to put a identifier (lets say a letter from A to Y) based on the adjacent B4 to B2000 cell values. I can't use a IF function because I am way over 7 allowed in excel. I could use a vlookup but that seems to slow down the file quite a bit. Is there something else better/faster out there?

View 3 Replies View Related

Fill A Cell With A Formula Based On Another Cell

Mar 15, 2007

I need to be able to fill in the day automatically when a date in entered

c1 (i type in) 15/3/07
then in a1 the day i listed by the formula =c1 and formatted to "ddd"

so i only type in the date and it fills in the day cell automatically down the rows are i enter new data

View 9 Replies View Related

Cell Ranges: Put A Value Into A Cell And Compare It To That Range

Jul 29, 2009

if I have a range, say 33-35, I want to put a value into a cell and compare it to that range. It will set another cell to a certain value, based on the range.

i.e. if (35 > A1 > 33)
A2 = B
elseif (37 > A1 > 35)
A2 = X

View 3 Replies View Related

UDF 2 Ranges - How To Use First Cell Of Both Ranges And Then Go To Next Cell

Feb 3, 2014

I'm trying to create a Formula where the User has to select 2 Ranges and then a calculation is done for each corresponding cell.

I thought about using arrays or ranges but I'm quite lost.

[Code] ....

My Second approach would be to use Arrays

[Code] .....

This is what I thought about so far but it does not work. I guess because I have to Idea how to tell VBA to use the Interestrates Range for each corresponding cell.

View 3 Replies View Related







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