Keep Chart Stationary On Worksheet When Scrolling?

May 23, 2011

able to keep a chart stationary while scrolling through a worksheet entering data. A few points:

1) 'Freeze pane' wouldn't work for me since the chart is too large and I'd prefer to have the data sheet unfrozen for easy perusal.

2) I saw mention of opening a separate window with the chart in it, while having the workbook window aligned next to it. I don't know if that can work, but I'd also prefer to just have the chart on the worksheet and stationary.

View 3 Replies


ADVERTISEMENT

Scrolling Dynamic Chart

Mar 14, 2008

I have graphed a range of data that was generated using VB, but the data is a series of 6 models plotted against each other over a period of 6 years and the data is daily and as such would be useful to reduce the range to look at certain periods , is it possible to do this using the mouse to select a region or would something like embeded text boxes for the ranges of dates the user could enter be better, or would it be better to move away from excel for this part of it be better. Also is it possible to plot say range A1:A5 and A20:A25 against the the relevent dates to examine two separate periods side on side.

View 2 Replies View Related

Create Scrolling Xy Scatter Chart

Jun 27, 2008

I have downloaded a file called "scroller.xls" under the section "Excel charts". The file was made by Andy Pope and shows how to make a graph dynamic by combining Named Ranges and a scroll bar.

My chart is actually XY scatter chart with data points connected with smooth lines. I followed but when I start scrolling, the data points (smooth lines) got "eaten up" as I move.

I tried line chart and it works perfectly.

Does scrollbar work for XY scatter chart? Is there a different formula for XY scatter chart?

And I want the chart to be in new sheet, but I couldn't put the scrollbar in new sheet. I would like to know if it is possible when the chart is located in new sheet because my chart is quite large.

View 9 Replies View Related

Automatically Scrolling A Worksheet?

Jul 28, 2013

I have a worksheet with a column("A:A") of about 1000names. The user will start at the top and work down, entering stuff into other columns for some ofthe names. My need is: How do you automatically scroll, with code, say row 48to the top of the worksheet when the user reaches row 48 with?.

View 2 Replies View Related

Trap Worksheet Scrolling

Sep 17, 2008

When the user scrolls the worksheet (using a scroll wheel, or the scroll bars) I would like to have a VBA-code triggered, but in Excel 2003 there is no "VBA-event" for scrolling...

Is there any way of trapping that a scroll has happened, even if the selection didn't change?

View 9 Replies View Related

Prevent Worksheet Scrolling

Oct 19, 2007

I have an excel sheet embedded in a Powerpoint presentation, but I have the problem that users are editing the sheet and accidently or unknowingly scrolling around. This results in the window resizing itself when the exit the object and messing up the appearance of the presentation. Is there a way of easily preventing scrolling (either via VBA or other)? I can obviously hide the scroll bars but that does not prevent the use of the mouse's scroll-wheel. I have also already hidden all unused columns and rows so that they cannot oversize the window.

View 5 Replies View Related

Limiting Scrolling Area On A Worksheet

Sep 18, 2008

When I limit the scrolling area in a worksheet, and it works there and then, when I close and reopen the whorkbook, the limiting does not work.

This is how I do it:-

I Right-click the sheet tab for the sheet which I want to place a limit.
In the resulting Context menu, I choose View Code. The VBA editor appears and asks for the password to view the code. I keyin the password

I then set in my limit as B2:O25

Then I close the VBA Editor and display the worksheet where I try and I find it working.

I close and save the workbook.

When I reopen the limiting has disaapeared!

View 9 Replies View Related

Scrolling And Freezing Worksheet Areas

Mar 31, 2007

I am attempting to set a range of cells (say c5:h25) that can be scrolled through horizontally whilst the rest of the sheet remains frozen.

I'm trying to set this so the scrollable range will automatically expand horizontally as user data is added to the last (h etc) column.

View 9 Replies View Related

Worksheet Scrolling With Scroll Wheel Is Broken

Oct 22, 2008

I have a workbook with 8 sheets, one of which is the "main" sheet that holds all of my user data for logins at my job (I'm in IT). There are about 4300 users and 23 fields for each user, so there are 4300 rows in the sheet. Other sheets in the book are important, but not as much as this one.

The workbook has a total of over 1000 lines of VBA code right now, as I'm building a tool that finds users, adds users, modifies users, etc. (I know, Access would be smarter for this, but for some reason they want me to use an xls). Most of this code works with the sheet that I'm having the problem on.

This ONE sheet has seemed to disable the functionality of the scroll wheel, and I can't use Page Up or Page Down while in the sheet either. Also, if I select cells with VBA (Sheet2.Range(<range>).Select), it will select the cell, but it will not draw focus to that cell on screen (the sheet will not move at all). The other 7 sheets in the workbook have all regular functionality.

This just started happening a couple days ago, and I've been building the code for about a week, so I'm wondering if it's something in the code...?

Does anyone have any idea what might cause this?

View 14 Replies View Related

Worksheet Name From Chart

Mar 17, 2008

I have a chart with a title of "Store 123 Vs Store 789 Comparision". I would like to rename the worksheet name to "Store 123 Vs Store 789"

View 9 Replies View Related

Chart WorkSheet

Jun 17, 2006

I downloaded an Excel template from Microsoft and I noticed that it had a dedicated worksheet with a chart in the middle. The area around the chart was gray and didn't contain cells.

I've attached the template to this post.

How can I add this type of dedicated chart worksheet to one of my workbooks/

View 3 Replies View Related

Create Chart For Each Row In Worksheet

Dec 5, 2006

I'm trying to loop through a worksheet where each row is an individual record. I need a macro to read the row and create a chart on a separate worksheet for that row, then move on until a chart has been created for each individual row. In English the problem is:

Read Row 1
Create chart based on row 1 data in new worksheet 1
Read Row 2
Create chart based on row 2 data in new worksheet 2
And so on

View 2 Replies View Related

Chart Relative To Worksheet

Aug 27, 2007

I'm looking for a "best of breed" technique to make charts automatically reference data selections on the current worksheet. While I can manually key in a substitute name to reference the new worksheet, this is tedious. The chart "Edit Series" dialogue window refuses to accept a reference that doesn't include the current sheet name.Does anyone know if there is a "relative cell reference" SYNTAX that works with "select data" ranges when defining chart series?Or can someone suggest a macro that can be used to modify multiple chart references to point to current sheet, since the standard " Find and Replace" doesn't seem to interrogate the contents of charts.

Additional problem description detail:

I'm creating numerous custom charts in a " boilerplate" worksheet, each chart references adjacent data. Is there some way to make these charts reference the "current sheet" automatically when my "TEMPLATE" worksheet is copied to a new worksheet? Whenever I copy the boilerplate worksheet, the series definitions continue to point to the abolute name of the original worksheet: =TEMPLATE!$GD$398
While I can modify references manually (e.g. edit to =NEWSHEET!$GD$398), this is time consuming.

View 2 Replies View Related

Hide A Chart Which Is Its Own Worksheet

Dec 18, 2007

To hide a worksheet upon open I use: wsSheet.Visible = xlSheetVeryHidden. What do I use to hide a chart which is its own worksheet?

View 3 Replies View Related

How To Break Links From A Chart And Worksheet

Jun 18, 2013

How can I break the link between a chart and a worksheet? If I change the name of the worksheet and try to use the chart I got an error that the current worksheet is the one that the chart is related to. I tried changing the source from the links option in the bar - no effect. I checked conditional formatting - also no effect. How can I break all existing links between the sheet and the macro?

View 2 Replies View Related

Using A Worksheet's Named Range In A Chart

Apr 21, 2006

I have a chart with a series whose formula looks like this:

=SERIES("ACTUALS",BOD!$E$42:$AB$42,'OE2_EOM_Mar_06_(20APR_0900)_EDIT_THIS_ONE.xls'!BodOblActData,7)

The named range, BodOblActData, is a named range in the workbook, but how can I change the formula to use a named range in the work sheet?

View 3 Replies View Related

Definable Scrolling

Nov 30, 2008

I've created a worksheet with split panes. I'm able to scroll through my data vertically and horizontally while keeping one area of th screen stationary. Here's my question:

Is there a way to limit the movement of my scroll bars so that it can't move beyond the viewable portion of my worksheet? In other words, I want the scrolling to end when there is nothing else to see but a field of empty cells.

View 11 Replies View Related

Scrolling Of Several Windows

Nov 6, 2007

way of getting two sheets to scroll together, so when I scroll one window the other one moves too? Some text editors have that future (IIRC UltraEdit does)

I can't find a scroll event in the windows code to trigger a macro to run itself.

I can get around it by using a selection change event which would restrict me to moving around with the cursor keys/Pageup/down, but I've got 15,000 to review regularly in a short space of time and it would be quicker by mouse

View 9 Replies View Related

Scrolling To Next Blank Row

Mar 18, 2008

[code/]Private Sub Worksheet_SelectionChange(ByVal Target As Range)

'This macro scrolls the Report to TopLeft when you click
'anywhere in the Report columns

If Target.Column > 16 And Target.Column < 22 Then
With ActiveWindow
.ScrollRow = 1
.ScrollColumn = 15
End With
End If

If Target.Column >= 1 And Target.Column < 15 Then
With ActiveWindow
.ScrollRow = 1
.ScrollColumn = 1
End With

End If
End Sub[code/]

...but I cant figure out how to scroll it down the list to the NextBlankRow-20 such that the previous 20 lines of data are shown to the top of the screen.

View 9 Replies View Related

Scrolling :: Only The Used Range + 1

Jul 14, 2008

Is it possible to use a macro that do the following:

scrolling, only the used range + 1

So if the used range is B2:D12 then the scrolling is possible to row 13 and column E

View 9 Replies View Related

Activating Chart Object In Protected Worksheet

Mar 5, 2013

I have a worksheet which is used to display analysis data to the user. The sheet will be further protected with only some cells available to the user. I've used the attached code to retrieve some data from the sheet, clear a bunch of cells to reset the sheet and reset a graph (the graph itself is plotted as a log-log with the 1 to 100 on the Y-axis, hence the resetting of data to 0.5 to push it below the axis and make it invisible ready for later data dumping).

The code worked fine until I protected the worksheet. I have set the charts to unlocked using the format option in the chart area prior to locking. When I run the code though, it stops on the line indicated with the error "Application-defined or object-defined error". I've double checked and Chart 7 is the correct chart, and it is unlocked according to its format properties.

VB:

'get date of survey and equipment number for retrieving the data from the archive
dateSurvey = Worksheets("Calculation Page").Range("B2").Value
equipNum = Worksheets("Calculation Page").Range("F2").Value
'stop screen updating
Application.ScreenUpdating = False

[Code]....

EDIT: Oops, I've just noticed that even if I unprotect the sheet, I get an error on the .select within the seriescollection stating "Method 'Select' of Object 'Series' Failed", and the code worked perfectly before. I'm completely lost now...

View 9 Replies View Related

Using Trend Equation From Chart In Worksheet Automatically

Apr 24, 2014

The trend Equation on a chart is of the form y= a+x.(b+c.x) I want to use that equation in a spreadsheet to calculate value of y for the value of x. I can do it manually by inserting the a+x.(b+c.x) in a cell but would like it to be automatic as the a, b, c in the Equation changes regularly as more data is acquired.

View 2 Replies View Related

Macro To Create A Chart Over Used Range In Worksheet

Mar 20, 2012

I am trying to write a simple macro to create a chart over the used range in a worksheet. The first part of the macro correctly selects the used range which in this case is A1 to F19 when I single step through the macro. A listing of the macro is shown below:

Code:

Sub AddChartObject()
'
Sheets("Sheet1").Activate
Range("A1").Select
Range(Selection, Selection.End(xlDown)).Select
Range(Selection, Selection.End(xlToRight)).Select

[Code]...

When I place the formula given in MyArea as an argument for the source data, I receive a syntax error, so obviously it is the wrong argument. Numerous attempts to correct it also failed. As a sanity check, I placed the used range in an argument for the source data and was able to create the expected chart. fix the syntax error in the macro

View 4 Replies View Related

Copy Cell Value Into Worksheet Chart Titles

Sep 12, 2008

I work with several graphs in three Worksheets in a Spreadsheet.
I want to use text value 'Home Run', say, from Worksheet#1 CELL $A$5 into my Excel Graph Title;
text value 'Score' as Y-Axis titile;
text value 'Player Name' for X-Axis title.

Can it be done with Macro or VBS?

Attributes of Title are:

Font 14, BOLD
Times Roman
Automatic Resizing to sencond line if Title is long (but, less than 127 characters).

View 9 Replies View Related

Phantom Chart Displays Until Worksheet Scrolled

Dec 28, 2006

I have an excel report containing eight or so worksheets. A user can make a number of selections with the report to change its context. E.g. to analyse different types of customers; high spend or low spend etc. Sales projections are then presented with several Excel Charts adapting to the user's preferences.

My problem occurs when the user makes a selection (they choose a ComboBox option.) This then triggers my code, which creates the data tables and graphs depending on their selection. The report is quite long so I have created two points in the same worksheet where the user can change the same customer selection option. (Basically, all I have done is create a second ComboBox which triggers the first). Again, this works perfectly causing no errors (other than the display error belowc)

However, when I change the second instance of the ComboBox a phantom copy of my chart is dumped on the current screen view. If I scroll off screen and then back again the phantom chart disappears. I need a quick solution to fix this bug until I have some more time to look at what's causing it. Therefore I simply want to add a line of code, which will scroll off screen and then return back to the same position. (Not very neat, but at least it will get rid of my duplicate chart). As I have screen updating turned off the user won't notice what is happening.

View 3 Replies View Related

Move Chart To Specific Place On Worksheet

Jul 12, 2007

now I thought about recording the macro, but it's an offset and if you click the chart, then it'll mvoe somewhere else even though the charts are always placed in the middle when generated. So I think I need to place it in a specific range. I want to use XY coordinates or range labels or something to that effect but would like something to this affect:

With Charts.Add
.ChartWizard source:=Worksheets("sheet1").Range("a1:a20"), _
gallery:=xlLine, title:="February Data"
End With

I got that in VBA help, but I'm not using Chart wizard, my code just creates the chart from the data on its own with specific chart type. So anyway, how would I make it put each of my five charts for the 25 people in the same place for every person. Performance Errors etc etc etc all will go in the right place everytime, regardless if you start with the page scrolled. I should do range right, but how do I change this macro to do it without chart wizard...just a chart that's already created and named. QUESTION: How do I place charts that are created from a data source onto a specific area of one worksheet, and those charts are always in the same place regardless of the person'a name.

View 9 Replies View Related

Scrolling To The Right - Skip Every Fifth Column?

Apr 26, 2014

I want to return the value of E2 from sheet, "ALL INFO" and paste it in B2 on my current sheet. When I scroll this formula to right, I want the next to be the value of J2 from sheet, "ALL INFO," etc.

View 2 Replies View Related

Fix Sum Cells To Always Be In View? Even When Scrolling

Feb 10, 2009

Ive seen on someone elses workbook the first 6 columns are fixed (always in view) then you can still scroll across but those first six columns always stay in view.

View 3 Replies View Related

Disabling Scrolling In 2007

Dec 18, 2009

I'm looking to disable the horizontal and vertical scrolling in 1 worksheet

Am i able to do this?

View 5 Replies View Related

Horizontal Scrolling Loop

Feb 2, 2014

I'm having a problem working with a protected document made by another user.

The sheet has a vertical split at column F, and when I use the arrow keys to scroll right beyond this line (ie from column G and beyond), when I reach the last column (BB), it just loops straight back to the beginning (column F). This also happens in the same direction.

How I can stop this happening, so that it just stops when it reaches the end of the document?

There doesn't appear to be any coding on the sheet.

View 1 Replies View Related







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