Naming Chart Sheets Specifically

Jan 3, 2009

I want my charts to be located in a new sheet each. I also need their names to start with "GR-Chart[number here]". So they should be GR-Chart1, GR-Chart2, GR-Chart3,......


ActiveChart.Location Where:=xlLocationAsNewSheet, Name:= "GR-Chart" & [this part I got wrong]

Do I use i? or .Count?

View 9 Replies


ADVERTISEMENT

Re-Naming Sheets Per Cell Data & Hiding Sheets

Aug 26, 2009

on sheet1 I have a button I need to do the following when clicked:
(1) name the next 30 sheets based on cell values in sheet1
(2) for those 30 sheets, hide some of them based on a y/n input in sheet 1

To clarify: the worksheets do not need to be created, they already exist. They just need to be renamed and hidden based on that y/n criteria. see attachment with just 1 worksheet for clarification. So - The next 30 sheets are to be named by the following ranges (B7:B16), (B21:B30) and (B35:B44). For every product with a "n" in column C of sheet1, the worksheet for that product needs to be hidden.

View 4 Replies View Related

Naming A Chart

Oct 12, 2006

how to name a chart? I've been accessing charts in my VBA scripts using chart names, e.g. "Chart 4". I've been determining the chart name by recording a macro and selecting the charts. But, is there a way to either:

1- change the name of a chart (as you would name a pivot table)
2- determine the name without having to select the chart in a recorded macro
3- reference multiple charts from the same worksheet without using their names

View 4 Replies View Related

Dynamic Bubble Chart - Data Point Naming

Feb 16, 2007

I am looking to create a dynamic bubble chart. To do this I am using offset to create the series formula which without listing all the data names turns out to be something like this (where 297 will adjust to the number of rows with data): =SERIES(Project!$A$5:$A$297, Project!$J$5:$J$297,Project!$P$5:$P$297,2,Project!$Q$5:$Q$297)

My problem is that by creating the chart in this fassion I am unable to get a unique name for each data point. For example, if row A looks like this,

A5: 1
A6: 2
A7: 3

each data point will be named 1 2 3. How do I either create a new series for each row dynamically or get the specific name from column A to associate with the correct data point?

View 2 Replies View Related

The Naming Of Sheets

Apr 30, 2009

Can a macro be written that will automatically NAME a sheet with the contents of a particular cell?

View 3 Replies View Related

Selecting Sheets Without Naming

Apr 22, 2008

If I opened a new workbook so i had sheet1 sheet2 sheet3... Starting at sheet1, how could i move on to sheet2 using VBA without actually naming it....

Is there a selectsheet.next or something?

View 9 Replies View Related

Naming Sheets From Cell Contents

Oct 18, 2006

I have a workbook with a sheet titled Variables. There are 6 additional sheets in the workbook and each sheets needs to be named with the cell contents of A2:A7 in the Variables sheet. I have attached the workbook and you can look at the names in the sheets tabs to see what I'm trying to do here.

The workbook is too large to attach but can be viewed here:
http://www.shuffleupanddeal.org/name_sheets.xls
or
http://www.shuffleupanddeal.org/name_sheets.zip

View 9 Replies View Related

Naming Sheets With Time-dependent Prefix

Apr 21, 2009

I have got this macro working OK but now I need to add a 2 letter prefix/suffix depending on what time it was created (am or pm). Detail: If the sheet is created between 0600hrs and 1800hrs then "DS" and likewise between 1800hrs and 0600hrs then "NS". Outcome: The sheet will then have a name like - "22 Mar DS"...code included below

View 4 Replies View Related

Naming The Sheets Based On List On Column A.

May 5, 2006

I have a huge db that has a column "C" with a list of names. I have been creating tabs and naming them according to that list. I wonder if there is anyway I can create and name the tabs automatically. I already searched for threads in the forum, but only found this this backwards "tabs to cells". By the way, the names in column "C" sometimes repeat.

View 2 Replies View Related

Select Mulitple Sheets Without Naming Each Sheet

May 14, 2006

Im sure there is a post somewhere on this forum as I have seen it before but I cant find it anywhere. All I want to do is be able to select Sheets Sun,Mon,Tue,Wed,Thu,Fri,Sat without naming each of the sheets. The post I seen would select all the sheets between the two sheets that were stated in the vba code. something like: Sheets( Array("Sun" To "Sat").select

View 5 Replies View Related

Excel 2013 :: Auto Naming Pivot Sheets

Feb 28, 2014

Is there a macro available which will create a pre-defined name for a pivot sheet, which will contain the word "Pivot" followed by a underscore "_" and the name of the sheet on which the pivot is applied.

Example: I have data on a sheet called "Salary" and put a pivot on "Salary" on a new sheet, the new sheet should be auto named as "Pivot_Salary"

Am using Excel 2013

View 1 Replies View Related

Adding & Naming Sheets "X" No Of Sheets Dynamically

Oct 28, 2009

I have an Index Sheet where I would be typing the name of the Sheet and a Command button to execute the operation of Adding the Sheet with the name mentioned in the Column C..

View 14 Replies View Related

Row Height Specifically For Page Breaks

Nov 20, 2008

I have a spreadsheet that I use for work that I have set the row height specifically for page breaks. I use the top 3 rows on each page as a header with that page info.

If I update it at home, then email it to work, the row height has changed. No real problem, I just go in and adjust the row height. Then if I email it back to home from work, it does the same thing.

It's just this particular sheet that does it. All of the other sheets that I use always keep their row height properties intact when emailing.

View 10 Replies View Related

Delete Chart Series Across Sheets But Skip Protected Sheets

Mar 30, 2008

I have received following macro from someone to delete series but the problem is that it gives error when some sheets are protected, and I want those sheets to protected. When run it will ignore/leave protected sheets but delete series only from unprotected sheets

Private Sub CommandButton1_Click()
Dim Rng As Range, i As Long, r As Range, lVal, uVal
Dim DeleteCount As Double
Dim lRow As Long
Dim dr As Long
Dim dc As Long
dc = Sheets("Deleted Numbers").UsedRange.Columns.Count - 1
dr = Cells(Rows.Count, Sheets("Deleted Numbers").UsedRange.Columns.Count - 1).End(xlUp).Row + 1
If dr = 60001 Then ................

View 4 Replies View Related

Convert Numbers To Specifically Formatted Text?

Feb 6, 2014

To input high volumes of dates I change the number format of cells to "00/00/00" so I can key mm/dd/yy without having to hit the slash key. In order to convert these values into an actual date, I've been using the =TEXT function because it allows me to format the text as "00-00-00" which preserves the numbers but inserts a hyphen between each set. From there I use text to columns to break each pair into its own column, and use the =DATE function to combine all 3 into a date.

Is there a way to automate this conversion process in VBA? Alternatively, I'd be open to a different method to input dates in the mm/dd/yy format without having to press the slash key.

View 2 Replies View Related

Can You Delete Specifically Formatted Text From A Cell

Jan 28, 2009

Is it possible to delete the work 'Strike' purely based on it's formatting I.E: as having a strike through set against it?

Im thinking it's not! I know you can use 'Find and Replace' for single cells with single words in, but not out of a sentence?

View 9 Replies View Related

How To Use A 'date Field', Specifically In A Chosen Column

Mar 19, 2009

Need to know how to use a 'date field', specifically in a chosen column, (lets say column C) that will transfer an entire row of information to another tab - next in line.
Example 03/19/09 to the 'tab/worksheet' labeled 03?

View 9 Replies View Related

Excel 2013 :: Add-Ins (specifically Explode) And Network Drives

May 27, 2014

My office just upgraded from office 2007 to 2013. I went through my normal routine, adding back in settings and Add-ins. Everything seemed fine. I rely heavily on Aaron Blood's Explode Add-in. It seemed to work. If I open a local spreadsheet it works (same with ledger shade and some other personal add-ins). However, when I open a file on the network, the explode and ledger shade add-ins do not appear. My personal add-ins do, but I have set myself as a trusted root source. I am sure I have a security problem somewhere.

I went into the trust center/trusted locations and set my network drive (and it's subfolders) to be a trusted location. That did not seem to fix it.

I also tried copying a file that does not work on the network to my local drive to see if the add-ins would work - once on my local drive they do work. Also if I open a blank or local file, then open a network file, the add-ins are still there and working.

View 1 Replies View Related

Same Chart On Multiple Sheets

Oct 22, 2013

I have a sheet open that I would like to have a chart like...umm...floating in front of?

First off I want the same "chart" (or block of cells) to be on all sheets of my file so if I enter information into it on one of the sheets it'll be the same on all of them. That's the most important part.

The other thing I'm looking to do with it is I would love for it to remain stationary when I scroll up and down on the sheets. So basically the left half of my screen would scroll up and down but the chart on the right would stay put in my line of vision no matter how far down I scroll.

View 9 Replies View Related

For Each Sht In Sheets Bombs On Chart

Dec 27, 2006

I created a chart with F11. It becomes the first, well, "sheet" in the workbook, Chart1. It's active when I go

Function foo()
Dim wksht As Worksheet
For Each wksht In Sheets

Boom. Now what do I do? I can't just go activesheet.next.select in error trapping code - can I??!!

View 9 Replies View Related

Several Sheets With Data - Chart

Aug 8, 2007

I'm currently working on a workbook that has over 50 different sheets. On each sheet there is a column K that I want to graph if desired. From the Main sheet I would like to have checkboxes or something, so that when I press on it, the data from sheet x is added in the graph. Can this be easily done? It's not a problem to hardcode the which-button-calls to-which-sheet (just takes some time), the main thing I cant work out, is how to add a series to a chart, how do delete a series from a chart and so on..

View 9 Replies View Related

Chart To Be Inside Sheets

Jan 5, 2008

Sub Macro1()

Sheets("AllSheets").Select

Charts.Add
ActiveChart.ChartType = xlLineMarkers
ActiveChart.SetSourceData Source:=Sheets("sheet2").Rows("48:48")
ActiveChart.Location Where:=xlLocationAsObject, Name:="sheet2"
ActiveSheet.Shapes("Chart 7").ScaleWidth 1.79, msoFalse, _
msoScaleFromBottomRight
ActiveSheet.Shapes("Chart 7").ScaleHeight 1.01, msoFalse, msoScaleFromTopLeft
ActiveSheet.Shapes("Chart 7").ScaleWidth 1.09, msoFalse, msoScaleFromTopLeft
ActiveSheet.Shapes("Chart 7").ScaleHeight 1.01, msoFalse, msoScaleFromTopLeft
End Sub

i need the chart to be inside allsheets. currently it create a new sheets chart1 once i generate it.

View 9 Replies View Related

Hide Chart Sheets

Jul 19, 2008

I would like to hide all worksheets and chartsheets in a workbook. I use

For Each sh In Sheets
sh.Visible = xlSheetVisible
Next sh
but I think it breaks down for chart sheets. Any solutions?

View 9 Replies View Related

Deleting All Chart Sheets Only

Jun 30, 2006

I’m would like to delete some sheets in my workbook using a macro. The problem is that
I won’t know in advance the name of these sheets.

I was thinking using a code like the following one to delete the sheets but the problem is that Excel expect a sheet name at this part of the code since it is expecting the sheet name.

Sub Delete_Active_Diagram()
Application.DisplayAlerts = False
Dim i As Integer
Dim strSheetName As String
Dim blnFound As Boolean

strSheetName = "Average Sales Per Week" & "" & Sheets(i + 1).Range("C3")
i = Sheets.Count

For j = 1 To i
If Sheets(j).Name = strSheetName Then

blnFound = True
Exit For
End If
Next
If blnFound = False Then Exit Sub
If blnFound = True Then strSheetName.Delete
End Sub

Is there a way to cope this problem, or should i think about another way to do it. Like selecting each sheet I would like to delete and then delete the selected sheets.

By the way. All the sheets I try to delete a Charts Sheets. Maybe there is a way to delete all the charts in my workbook.

View 5 Replies View Related

Make A Chart With Data From Several Sheets

Mar 22, 2009

I want to do is be able to take The data from one week for every store and compile it into a chart to show a summary of the company as a whole. I know that I can reference from that chart to each worksheet the values I want, but how would I give that chart the ability to update each time I add a weeks worth of data.

I have attached a file that shows what I am talking about. The sheets labeled Waterloo, Mogadore, through Green are the sheets for each store.

I want to take the last weeks data and put it into a chart as seen on Sheet1. Then when I add data for 3/21/09 I want to make a new chart without retyping the data into the chart.

View 2 Replies View Related

Chart Sheets - Resizing And Exporting

Jun 3, 2006

I have a two-parter...

1) Is it possible to write a macro that will resize fonts in a chart (axes, text boxes) to specific sizes?

2) I usually copy chart sheets and paste them into Publisher but I have to resize them because they are huge when pasted. I would like to create a toolbar command that will take the selected chart sheet (not just a chart in a worksheet) and resize it and its components (part 1) to specific dimensions, then copy it as a picture so that I can simply go to Publisher and paste the chart after pressing said button in Excel.

View 9 Replies View Related

Use Values From Multiple Sheets In Line Chart?

Apr 9, 2014

I have multiple sheets from 'START' to 'END' as you can see below, the name of the sheets are dates.

I want all sheets to be listed in the 'INDEX' sheet. Every time I add a new sheet between 'START' and 'END' i want the new sheet to be listed.

I want to use the value from cell C5 in each sheet to my Line Chart on the 'INDEX' sheet.

In the X-axis in the Line Chart i want to use the dates.

View 1 Replies View Related

Hiding Chart Sheets If Users Disables Macros

May 10, 2008

I am using Reafidy nice bit of code to hide worksheets if the user disables macros. The problem, though, is that it doesn't work for Chart Worksheets. How should I adjust this to accommodate charts?

Private Sub Workbook_BeforeClose(Cancel As Boolean)
bIsClosing = True
End Sub
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
Dim wsArray() As Variant
Dim iCnt As Integer
Application. ScreenUpdating = 0

Splash.Visible = True

View 4 Replies View Related

Dropdown For Dynamic Sheets With Static Data To Create Chart

May 20, 2013

I need drop-down combo box to change a graph based on the option selected in the drop-down

Challenge: my Combo box resides on the First sheet only, but the items that populate in the drop-down list are dynamic and change depending on how many sheets exist for this document. The options in the list are Overall, Week 1, Week 2, ... Week N. Overall needs to sum up the data (or I can pull just from the summary page if I am lazy) and the Week N corresponds to a specific sheet added.

I currently am able to get my drop down to populate items correctly, and my macros to create the sheets dynamically with templates just fine (not bad for newbie).

So what I need to figure out is how to tie my drop down to make a scatter plot/bar graph based on the selected option and action. I can't find an attachment option here but here is some code:

Sheet 1 Code:

Code:
Private Sub Worksheet_Activate()
Me.ComboBox1.Clear
Me.ComboBox1.AddItem "Overall"

[Code].....

View 2 Replies View Related

Paste First Chart Into Second Chart But Maintain Format Of Second Chart?

Jul 12, 2013

How do I paste the first chart into the second chart but maintain the format of the second chart?

View 2 Replies View Related







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