Grouped Objects Wont Run Assigned Macro

Dec 3, 2006

I created an object using multiple smaller objects (shapes, text etc,) and grouped them to make an icon. I assigned a macro to the finished object. It works fine when the sheet is unprotected. However, when the sheet is protected, the macro will run only when certain parts of the object are clicked. The standard cursor turns into the "hand" when any part of the object is touched regardless of the protection status.

View 8 Replies


Keep Objects Assigned To Cells When Sorting

Jul 31, 2009

I am using Excel 2007.

I have a spreadsheet with about 30 items in 30 rows. I have a picture object which corresponds to the item # and other info in each row. When I sort the rows, the picture objects don't get sorted with the rows and end up no longer corresponding with the item # and other info.

I have right clicked and set the properties for each picture object to "move and size with cells". This does not prevent the problem.

View 9 Replies View Related

Assigned Macros Don't Stay Assigned?

Jun 10, 2014

I have a little trouble with my macros. I wrote several different macros, each for a special purpose. Then I created some Buttons, which would make it easy for others to work with them.

But I have now experienced several times, that my buttons don't keep their assigned macro.

View 5 Replies View Related

Print Color Objects But Not Objects That Are Highlighted / Colored For Input And Grids?

Dec 27, 2013

So I'm creating a grid worksheet for engineering calculations and I have a couple questions about the best way to do it. I've been messing with excel for my calcs for about a decade now, and I every once in a while I try and improve them.

First: I will have several input areas that will either be colored text or shaded background (either works for me). I don't want these 'input required' objects to print as color, just black. But I want my logo at the sheet top to print as color. I've only found ways to not print any color. Can I print the logo as color and the 'input required' stuff as black?

Second: When I do calcs by hand, I write them out on 10x10 grid paper. Each 10x10 grid is one inch. In the past I've created this grid out of the cells, which works. I frequently need to change formulas around though, and each time I do this, I end up needing to mess with the grid cells also. Is there a way to create the grid and have it in the background so it doesn't need to be adjusted each time I change formulas? I wan't the grids to print, and also want to see them on the screen, as I sometimes draw simple objects along with the formulas.

View 9 Replies View Related

Hide Button After Assigned Macro Has Run

Aug 26, 2009

I have a formatting macro that I recorded, nothing fancy just bringing in a few different spreasheets, and formatting them. I made this for someone who really doesn't know excel.

I linked this button to the macro and it works great, except at the bottom of the code I would like to put something that when this has run, it hides the button, so it can't be run again.

View 4 Replies View Related

Remove Macro When Assigned To Object?

Jan 6, 2005

I accidently assigned a macro to an object. When right-clicking on the object, I am only able to "Assign Macro...", how do I remove it?

View 6 Replies View Related

Assigned Accept / Reject Changes To Macro Button

Feb 7, 2014

I have a shared workbook. Just used as a checklist for daily tasks. But opened on 5 pc's for users to edit. Is there a way to assign the process of click Review > Track Changes > Accept/Reject Changes... to a marco button?

View 1 Replies View Related

Unprotect Form Control Button With Assigned Macro?

Oct 9, 2012

So I have a sheet with a lot of formulas and form control buttons that have been assigned macros.

When I go to protect certain cells and lock them and the activate sheet protection, suddenly my form control buttons with the assigned macros don't work.

I still need to protect some cells with formulas and don't want to leave the whole worksheet unprotected, but in order to allow the form control button macros to run, it appears that's what I have to do....or, is there another way to do this?

View 3 Replies View Related

Assigned Macro Name Does Not Change When Workbook Is Copied And Renamed

Mar 20, 2007

I've created a custom toolbar and populated it with a custom button. I have created a macro and it resides in ThisWorkbook. The macro is assigned to the custom button and the toolbar attached to the workbook. So far, so good. If I copy the workbook and rename it, when I click the button to run the macro it launches the original workbook and runs the macro. The macro effects changes on the renamed workbook copy. The macro name found in the assign macro dialogue starts with the original workbook name. The same effect if the macro resides in a module or sheet. Any known way to have the macro name change along with the renaming of the workbook such taht it refers to the currently opened workbook macros? Regards.

View 5 Replies View Related

Create Multiple Buttons All Assigned To Macro Code

Mar 6, 2008

I'd like to write a macro to create buttons with the caption "Fix" in over 300 cells. Furthermore, I would like each button, when pressed to run a macro that would copy and paste the values (paste special) of the entire row in which the button is situated as well as copy and "paste special" the values in the fixed cells $J$2, $K$2,$L$2, and $M$2. I've attached a file to clarify what I'm sure is an extremely convaluted statement of my problem.

View 5 Replies View Related

Macro Button Click - Show / Hide Set Of Grouped Rows

Nov 12, 2013

I found this code for a button, so I can collapse and expand a set number of rows within that sheet. It works exactly the way i want it to, however, now I have a second sheet in my workbook, and I used the same button. Problem here is that when I activate the button, it opens the same rows in EVERY sheet in the workbook. "For each ws in Worksheets" so my question is what is the term for it to only work on a certain worksheet?

Private Sub ToggleButton1_Change()Application.ScreenUpdating = False
Dim ws As Worksheet
With ToggleButton1
If ToggleButton1.Value = True Then
For Each ws In Worksheets

[Code] ........

Other questions is about the ability to send an MS Outlook email from inside of excel.

I've been trying to find something that does the following:

Click button, Form pops up, has drop downs to select recipient, has field for subject, has field for message body, sends email.

View 2 Replies View Related

Macro To Collapse Subtotals Results In: Cannot Shift Objects Off Sheet

Aug 6, 2008

I'm getting a runtime 1004 error "Cannot Shift Objects Off Sheet" right at the line when i am trying to collapse a subtotal (showlevels, rowlevel 2). I searched about this and i tested. I cannot find any comments, hidden comments, rows or columns. I cannot find any shapes (ran "Kill_Shapes" posted by Aaron Blood).

Sheets("Oxnard Planning 10 (all)").Activate
'SORT: Del Code (D), then Style (A)
Range("A1").Sort Key1:=Range("D1"), Order1:=xlAscending, _
Key2:=Range("A1"), Order2:=xlAscending, Header:=xlYes, OrderCustom:=1, _
MatchCase:=False, Orientation:=xlTopToBottom, _
DataOption1:=xlSortNormal, DataOption2:=xlSortNormal
'Subtotal by STYLE
Range("A1").subtotal GroupBy:=1, Function:=xlSum, TotalList:=Array(5, 6, 7, 8, 9, 10, 11), _
Replace:=True, PageBreaks:=False, SummaryBelowData:=True
'Subtotal lines = Bold & Pink
ActiveSheet.Outline.ShowLevels RowLevels:=2 '<< ERROR:Cannot shift Objects off Sheet
With Range(Range("K65536").End(xlUp), "A1").SpecialCells(xlCellTypeVisible)
.Interior.ColorIndex = 38
.Font.Bold = True
End With
ActiveSheet.Outline.ShowLevels RowLevels:=3

View 2 Replies View Related

Use Of Grouped Cells

Aug 31, 2007

I have aprox 700 groups of cells "I selected a set of cells and named them". these groups cover 3500 rows. There sizes very in the number of rows per group but, all have the same number of columns.

What I'm tring to do is create a summary sheet. I want to copy all groups that have meet a single criteria to another sheet. The criteria will always be in the same column. The criteria is part of a function and will change each time I import new data into my excel sheet. Am I even close by trying to group them like this?

View 12 Replies View Related

Can Multiple Tabs Be Grouped Together?

Nov 29, 2009

I have an Excel file with 70+ tabs and was wondering if there was some way to group them together, short of just making separate worksheets.

View 6 Replies View Related

Need To Sort Grouped Data

Nov 29, 2012

I'm working on a spreadsheet to track student test scores over the course of the school year. Each score set is grouped by student, but we need to be able to realphabetize when new students are added. is there some way to accomplish this?

View 3 Replies View Related

Printing Grouped Rows

Aug 11, 2013

I have a few pages of information and have grouped rows collapsed to show only the summary information. When I try to print only visible summary rows, whether I use print, print selection, copy and paste to another sheet or copy and "paste special" values to another sheet, all the hidden/grouped rows print or the summary rows print separately on different pages. Is it possible to print only the summary rows.

View 3 Replies View Related

Closing All Grouped Months?

Jan 23, 2014

I have a spreadsheet with one column for each day. I've grouped the days into months and now I would like to minimize (minimize each month) Is it possible to close all, without having to select each group?

View 1 Replies View Related

Check If Columns Are Grouped (VBA)

Dec 5, 2008

How can I check (using VBA) if 2 columns (F and G) are already grouped.

View 7 Replies View Related

Read Grouped Textbox Value

Jan 16, 2008

I have a bunch (between 5-10) textboxes grouped together into one object.

When I click one of them, I want its value to be written to a cell on the active worksheet. In other words, simply would like to read the value of one of the textboxes in the group. This sounds trivial, but at this point, I haven't been able to find the correct syntax to access this property. It seems that the fact that they are grouped hides access to their text? I am using Excel 2003.

I have managed to code a workaround, but its performance is atrocious (involves shaperanges, ungrouping, etc..)

View 9 Replies View Related

Calculate Sum Of Grouped Columns

Feb 8, 2008

I have a spreadsheet where columns belonging to the same topic are grouped together. For every group I want to calculate the sum of numbers in a row. How can I get all the columns belonging to a group?

View 8 Replies View Related

Keep Macros Assigned To Toolbar

Dec 10, 2007

When I Copy My Excel Document I Find This:

In My New Document The Custom Toolbar Is Likning The Functions (macros) To My Old Workbook In My Other ( The One I Copied From) Document.

Can I Make The File Path Of The Macros Change With The File Path Of The Document.
Or Embed The Macros To The Sheet

View 6 Replies View Related

Increment Assigned/Defined Name Value

Apr 29, 2008

I created a name with the code

ActiveWorkbook.Names.Add "ChartNo", 0, True

I got an "error 428 object required"
with the next line :

[ChartNo] = 1

View 7 Replies View Related

Pivot Chart Grouped At Two Levels

Aug 21, 2012

I have daily data that has columns for day, day of week, week end, month, year. I am trying to create a pivot chart that displays the data as a line chart day by day and as a secondary axis column chart by week.

View 1 Replies View Related

Charting Hidden / Grouped Columns?

Mar 18, 2014

I have several years worth of monthly data that I would like to keep hidden so it is printer friendly but I also want to have a chart of all that data... Is this possible? Only idea I have is to basically recreate the data sheet but I don't really like that solution since it adds steps to the process and increases the file size...

View 2 Replies View Related

Formula Drag Over Grouped Rows

Dec 16, 2013

I have sheets with over 40000 rows. I grouped them in 60 and I need the average for every group on the 61st (which is blank). For example, when collapsed I have visible the following blank cells:

and so on.

What I want is to enter a formula in A61 for the average of A1:A60 then drag down and have the correct values in all the rest (average of A62:A121 in A122, etc.).

View 4 Replies View Related

Data Manipulation & Grouped By The Name Field

Aug 4, 2009


Where all question 1 fields are put into a row, 2 in another row, etc (this may be more than 2 sets of questions), grouped by the name field. I have had a look at Pivot tables but they dont seem to do what Im after.

View 3 Replies View Related

Bargraph With Grouped And Stacked Bars?

Jan 27, 2010

This is the data:

jan09 feb09 mar09 .....
Division 1
Division 2
Division 3
Division 4
Division 5

jan08 feb08 mar08 .....
Division 1
Division 2
Division 3
Division 4
Division 5

The graph would be a bar graph with 2 bars next to each other per month. each bar would be stacked by division. The goal is to compare for example sales in 08 with sales in 09 showing 2 bars next to each other split by division.

View 2 Replies View Related

Sort Data In Grouped Rows

May 22, 2013

I have a workbook (Sort Test.xlsx) where multiple rows belong to the same "group". Is there a way to sort by a value (e.g. name of the test, date of the test, etc.) while maintaining the formatting and keeping the "groups" together? There are 3 sheets in the work book. The first shows the sheet as is, the other two are examples of how I would like to be able to sort the data.

View 2 Replies View Related

Sorting Grouped Dates In Slicer?

Jun 12, 2014

In my pivot table I have "Due Date" with is a column label.

I grouped the dates into weeks by using the "days" grouping and using 7 days.

I created a slicer to allow the user to select with week they want, but the slicer is sorted as though it's a text field and not a date field.


6/1/2015 - 6/7/2015
6/13/2016 - 6/19/2016
6/15/2015 - 6/21/2015
6/16/2014 - 6/22/2014

I want the slicer to sort by actual date.

View 1 Replies View Related

Grouped Labels On Chart X-axis

Feb 20, 2008

I want to create grouped labels on a chart x-axis of the type created automatically when creating a pivot chart. For example: I have projects, samples and sample yields. There are multiple samples in a project so I have a sheet that looks something like this below:-


I would like to create a chart that has Project and Sample as the x-axis where the samples are all grouped into their project. Pivot charts do this nicely, but how to do it without a pivot chart? As you will see from the attached file I can get both Project and Sample on the x-axis, but the Projects are overlapping.

View 2 Replies View Related

Copyrights 2005-15, All rights reserved