VBA To Group And Removing + And - Buttons

Jan 7, 2014

I have been using the GROUP and UNGROUP function on spreadsheets.

I don't like the + and - buttons down the side of my rows or along the top of the columns.

For example if cell A1 contained the text "Colour", and by clicking on the text, cells A2, A3, A4, A5 expanded and by clicking on the text again in cell A1, it closed?

View 2 Replies


ADVERTISEMENT

Use The Group Box To Group A Number Of Option Buttons Together?

Jan 17, 2013

how to use the group box to group a number of option buttons together.

Question is, lets say, i have a total of 4 group box. if i want it to work in such a way where by once 2 option buttons are being selected (1 option selected from each group box), the rest of the option buttons in the 4 group box will be greyed out. is that possible?

View 2 Replies View Related

Can't See Group / Ungroup Buttons

Dec 15, 2011

I am having a problem with one of my workbooks. I have grouped some columns, but now I can't see the button on the top of the grouped ones. I tried to group/ungroup again and, as there were some hidden rows, I tried to unhide them all and it is still not working.

View 2 Replies View Related

Removing Border Of Group Box

Nov 20, 2008

I've used Group Boxes to isolate some Option Buttons. I would like to remove the line border of the Group Box, but I don't see a way to format it.

View 2 Replies View Related

Linking Option Buttons In Different Group Boxes

Jul 2, 2009

I have a form that contains a group box with option buttons, and for clarity's sake, next to it another group box, also with option buttons. So, I can choose 1 option in one box and another option in the other box at the same time. I'm sure you heard me coming a mile away, but here it goes anyway: how can I link the two group boxes (and option buttons) so I would only be able to choose 1 option out of both boxes?

View 4 Replies View Related

Group Radio Buttons & Link To Cells

Jul 31, 2007

I am trying to make a basic worksheet that will have radio buttons. I have searched around for about 2 hours and can not find any documentation on how exactly to create a buttons and make it do what I want. I have also tried F1 in Excel but that hasn't helped any either. I did stumble uppon a file called "Options.xls" when searching this forum but it does not explain how the buttons were made. The only thing i can figure out how to do is basically insert a button onto the document, and rename the label of the button that's about it. I basically want to create a group of (3) or so buttons. If button A is picked, cell D1 will display "x". If button B is picked, cell D1 will display "y", and so on. Is there a link to an example out there that shows how to create and use buttons?

View 2 Replies View Related

Multiple Macro Buttons (radio Buttons)?

Feb 10, 2012

I am trying to create a worksheet that has multiple radio buttons. Each radio button is linked to a Macro. I need there to be many buttons running down one side of the worksheet. Each button needs to perform a macro that is relevant to the cells in the same row that it is on.

Essentially what i am trying to do is make a macro that when the button is pressed copys data from H6 and paste it into B6. The button is situated above I6. I need a button for each row from 6 to 110.

While this macro is easy to create (i use the record button and then assign the macro to the button), i would have to do this 104 times and assign a new macro to each button.

Is there a quicker way?

View 6 Replies View Related

Change The Color Of Buttons Or Command Buttons

Mar 14, 2007

Is it possible to change the color of buttons or command buttons? There does not seem to be any place that allows this under properties for buttons, although there does for command bars. However, I've tried recording a macro as I change the color, but nothing get's recorded so I'm not sure what the syntax would be.

I have a spreadsheet with several buttons and I'd like them to change colors as they are pressed so it's possible to see what you've already done. And then, as soon as any other cell on the sheet is changed, the buttons reset color.

View 9 Replies View Related

VBA To Search Group Of Cells And Input Message If Value Is Missing From Group?

Mar 17, 2014

I am trying to write VBA code that groups cells between blank rows and inserts a message if a string of text (a name) is missing from the entire group. I want the code to search cells in column A and group the cells between blank cells. Use the name I input in an input box as the search criteria and insert a message in the Column C next to the last blank cell in the group and then move on to the next group and highlight the cell in red with bold text. I am including a spreadsheet with an example of what the sheet should look like before and after the code is run.

View 11 Replies View Related

Pivot Table Group :: Group By Integers And Not By Months, Years Etc?

Nov 12, 2009

I have date fields as column labels in a pivot table. When I try to group them I'm only given the option to group by integers and not by months, years etc.

I've had a look at the format settings of the column and they are formatted as date fields.

View 9 Replies View Related

Insert Group Header Based On Consistent Value Within The Group?

Feb 10, 2014

I have several groups of data in the same sheet. Each group has two blank rows above the first row of data. Each group has column "B" in common (e.g., "Phone" in the example attached). I'd like to add a title/label of "Phone" to the first column in the row immediately preceding the first row of data for that group.

View 1 Replies View Related

Convert A Group Of Numbers To A Group Of Letters

Aug 9, 2006

My store uses a retail price "code" wherein a price like 99 in expressed as a
code like "PP"--exchanging the number digits 1-0 as letters.

Is there a function to do this automatically?

View 9 Replies View Related

Apply Row Count Of Sub Group In Each Row Of Sub Group

May 28, 2014

In Col X of the attachment, I have manually entered the count of the rows within each sub group, as determined by the counter in Col W. How can I do this automatically? I need this because when I filter the spread sheet by Rank, I need to know how many selections, of the filter Rank query, were in a sub group of ? number.

View 2 Replies View Related

Sort And Group Names Then Sum Associated Numerical Values For Each Group - Sort Total

Apr 18, 2014

I have this massive spreadsheet, with the maximum rows excel will fit on one sheet. In the interest of simplicity, this is what the raw data looks like:

Last First Amount

Jones Jim $1000
Jung Joe $700
White Jon $100
Jones Jim $200
Jones Jan $300
Jung Joe $800
White Jon $200

What I want to do is automatically get excel to group all the same names together. Then I want it to sum all the values for each name, then order by largest total value for each person, then order that by name alphabetically. In other words, the above would look like this after the sort:

Last First Amount
Jung Joe $800
Jung Joe $700
Jones Jim $1000
Jones Jim $200
Jones Jan $300
White Jon $200
White Jon $100

Or, if necessary, there could be sum total rows under each name...although I don't have spare rows, so IDK. I could delete some rows if I had to, but would rather not.

View 1 Replies View Related

Change Color Of Group Of Cells Based On Data In Another Group Of Cells

Jan 12, 2014

Conditional formatting. I want to change the color of a group of cells based on data in another group of cells. Example:

If cells G8 and G9 (which are merged) are between 80% and 94%, then I9,I10,I11 (which are merged) will turn Yellow. Also, under the same scenario, IF G8 and G9 is greater than 94%, then cells I9, I10, I11 will turn Red.

View 2 Replies View Related

Radio Buttons.?

Apr 8, 2009

I've got a small problem with radio buttons. I've been asked to add a few to a sheet we use at work, problem I'm having is when I add these new buttons from the forms toolbar and then assign the cell link for them some of the other radio buttons on the sheet asume the cell link of the new buttons and when I change them back the cell link for the new buttons change ? i could understand this problem if I had maybe copied them and modified the copies perhaps but that isn't the case.

View 2 Replies View Related

Creating Buttons Using VBA

Dec 16, 2008

I'm trying to make a macro that creates a button (to run another macro). I'm also trying to make sure this has a specific name, instead of just "Button#". The code I get from recording this is:

View 5 Replies View Related

3 Different Validation Buttons

Mar 31, 2009

my main project will have about 8 different buttons.

View 5 Replies View Related

Filter Using Buttons

May 16, 2009

i want to filter the sheets on click of a button .

like in this sheet i want to filter the column E in column E their are many reasons of non delivry of my products i want to find out which department is accountable for how much loss so on click of a button it filters with 2 reasons

RTM department

1)Ko Cannister stock Out
2) Outlet Need fresh stock

View 7 Replies View Related

Protect Buttons ...

Jan 24, 2010

Dear sirs,with best regards,i have in attached example file some cells i have protected them by ( tools-protect ) which is the general way for protection,for special purpose i ask you kindly to help me by:

creating a buttons with macros to protect and unprotect the ( cells,columns,rows,and all the sheet) that i need to protect them, when i want to (protect or unprotect) i have to click these buttons.

View 6 Replies View Related

Linking Buttons With A Row?

Nov 23, 2011

If possible I would like to create using vba a button at the end of my rows of data allowing a user to copy and insert the row next to the button, i.e. duplicate.

I am using the following code to create the button but am not clear how to link a button to a row or cell. The button would be within a cell in a row at the end of the data.

Range("a2").Offset(rowoffset, 10).Select
ActiveSheet.Buttons.Add ActiveCell.Left, ActiveCell.Top, ActiveCell.Width, ActiveCell.Height

rowoffset increments within a loop and a button is placed at the end of each row of data.

I would also like to know how to name the button.

View 5 Replies View Related

Option Buttons

Aug 23, 2007

I created a frame in a spreadsheet I put in 2 options buttons that I called Left the first one and Right the second one. I got 2 cells lets say C10 and G10 in these 2 cells I write the cell number values. When I click on button one or Left, I need the cell C10 be set focussed and write a number e.j 5. However, when click on the second butt to write a number e.j 7, the number in the cell C10 still there, so, what I need is a cero or an empty cell C10, and viceversa. Could you help to write a code for this problem.

View 9 Replies View Related

Getting Rid Of Command Buttons

Apr 9, 2009

I have a range of cells (A1:D5) identified within a worksheet (worksheetA) as part of a user input form.

When a certain condition exists, a routine is executed that copies a range of cells (C1:F5) from another worksheet (worksheetB) to this defined range. The copied area consists of two command buttons. They get copied and pasted no problem.

When I want to reset (blank it out of its contents) my range in worksheetA from I copy another range over of just a range of blank shaded cells. However, doing this does not eliminate the command buttons left in the range on previous pasting.

How do I delete these command buttons left from previous pasting activities when I wish to reset my range?

View 9 Replies View Related

Using Buttons Over 2 Workbooks...

Aug 5, 2009

I currently have a sheet (SHEET-A) which pulls in a figure from a cell (CELL-G) in another workbook sheet (SHEET-B), and displays the value in CELL-X.

CELL-X then is used for a series of calculations on SHEET-A.

CELL-Y is adjacent to CELL-X and can have a number entered into it which is then used instead of CELL-X for the calculations on SHEET-A. (It is also incidently displayed over CELL-Gs value in CELL-X)

I would like to have a button next to CELL-Y which upon click alters the value of CELL-G in SHEET-B to that of CELL-Y in SHEETA.

View 9 Replies View Related

Sum Up Yes & No Buttons Results

Feb 20, 2009

I am trying to do a small survey within my company by email.

It is very short, 5 questions, I was hoping to add in yes/no buttons and have a code that will sum up the individual responses.

Something like (yes(1,4)=2) (No(2,3,5,)=3 .......

View 9 Replies View Related

Buttons Not Visible

Mar 5, 2007

I have created a great little macro to handle a large amount of data on my spreadsheet that I've been using for several months. It's a shared sheet that is used by many people, but the macro is protected...That being said, something strange has happened that none of my buttons for activating the macro are no longer visible. I can't even create new ones. I get a box outline with a little red X in the upper LH corner. I've verified that the button is in fact set to be visible and set up properly for colors, etc.

I'm not sure what's happened since it happened in a matter of hours...did something get "deactivated" that I need to re-instate?

View 4 Replies View Related

Round Buttons

Mar 27, 2007

Is there a way to put round, or any other shape, buttons in vba forms?

View 6 Replies View Related

Set All Option Buttons To No

Jun 26, 2007

is there a way to set all yes/no option butons to "no" when a worksheet is activated?

View 5 Replies View Related

Hide Cells Using Buttons?

Feb 13, 2014

IMAGE1.jpg ... This list uses rows up to 1040. What I am needing to do is create a master button similar to the "Show All" Button at the top that hides any sub group automatically based on the values in the yellow box. The hide button to the right of the hardware assembly will hide the rows when pressed but that requires me to go down the list and press each button that the yellow box has a zero in. I would like to create a button that has a macro that will automatically "click" or run the hide button when its corresponding yellow box has a zero in it. If the value is greater than zero it does not need to hide that hardware group.

Example from attached image. If I were to run the new macro it would run the hide button for rows 5-8, not run the macro for rows 10-13, then again run the macro for rows 15-18, and so on until it reaches the last yellow box which is row 1036 (hide rows 1035-1039).

View 9 Replies View Related

Linking Buttons And Datasheets

Dec 30, 2008

I'm interested if it is at all possible to configure say, one sheet that is a rough visual layout of an inventory shelf, and if an object on said shelf was clicked, then relevant text would be displayed in the respective fields.

So if I had a picture of a shelf full of groceries on sheet1, and say clicked on a can of beans, then beside my picture of the shelf full of groceries, it will copy over the information I keep relevant to my beans.

View 5 Replies View Related







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