Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-18-2016, 04:20 AM
c991257 c991257 is offline Setting chart boundaries using cell references. Windows 10 Setting chart boundaries using cell references. Office 2016
Advanced Beginner
Setting chart boundaries using cell references.
 
Join Date: Mar 2014
Location: Zambia
Posts: 61
c991257 is on a distinguished road
Default Setting chart boundaries using cell references.


Hi.

I've been trying to apply http://peltiertech.com/link-excel-ch...lues-in-cells/ to my spreadsheet. But it's not working and I can't puzzle out what the problem is.

Long story short I want the chart to update the X-min/Max and Y-min/max if the user changes the values in cells B7/B8/B9.

What am I doing wrong?

/Møller
Attached Files
File Type: xlsm ARZ, Excel, Testing3.xlsm (22.9 KB, 10 views)
Reply With Quote
  #2  
Old 07-19-2016, 12:20 PM
p45cal's Avatar
p45cal p45cal is offline Setting chart boundaries using cell references. Windows 7 32bit Setting chart boundaries using cell references. Office 2010 32bit
Expert
 
Join Date: Apr 2014
Posts: 871
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

The code needed to be in the sheet concerned's code-module and there needed to be a few tweaks to the code.
Attached Files
File Type: xlsm msofficeforums31906ARZ, Excel, Testing3.xlsm (24.3 KB, 16 views)
Reply With Quote
  #3  
Old 07-19-2016, 10:36 PM
c991257 c991257 is offline Setting chart boundaries using cell references. Windows 10 Setting chart boundaries using cell references. Office 2016
Advanced Beginner
Setting chart boundaries using cell references.
 
Join Date: Mar 2014
Location: Zambia
Posts: 61
c991257 is on a distinguished road
Default

Thanks a bunch mate.

What is the difference between the having the cells in () and []?

Also, why should the code be under the sheet and not in the module?

These probably really basic questions but I haven't got the foggiest what I'm doing...

/Møller
Reply With Quote
  #4  
Old 07-20-2016, 01:12 AM
p45cal's Avatar
p45cal p45cal is offline Setting chart boundaries using cell references. Windows 7 32bit Setting chart boundaries using cell references. Office 2010 32bit
Expert
 
Join Date: Apr 2014
Posts: 871
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

Square brackets is short for Evaluate.
It's an event handler so needs to know which sheet the event occurs on.
Reply With Quote
  #5  
Old 07-25-2016, 02:08 AM
c991257 c991257 is offline Setting chart boundaries using cell references. Windows 10 Setting chart boundaries using cell references. Office 2016
Advanced Beginner
Setting chart boundaries using cell references.
 
Join Date: Mar 2014
Location: Zambia
Posts: 61
c991257 is on a distinguished road
Default

Excellent. Problem solved.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting chart boundaries using cell references. Inserting Cross References into Cell mikemike616 Word VBA 4 08-19-2015 08:43 AM
Setting chart boundaries using cell references. Cell references don't change on sort gebobs Excel 3 07-23-2015 05:14 AM
Propagating a formula which references a named cell Splint Excel 4 06-15-2015 04:55 AM
Setting chart boundaries using cell references. How do I change Excel Chart Object link references from UNC to drive letter? SusieBennett Word 9 06-16-2014 05:58 PM
Macro to change cell references SaneMan Excel Programming 6 10-01-2013 02:49 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:53 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft