Calculating a Range

Matty440

New Member
Joined
Jun 16, 2015
Messages
2
I am trying to work out how to get Excel to calculate a range.I am using MSProject and VBA to export the timeline to clipboard, open excel and run a macro which will then save that timeline as an image file. The basic principles work fine and I can export whole timelines to my hearts content. I am now trying to get the system to only save a portion of the timeline as the image with the size and postion dependent on data from MSProject. I have got MSProject to pick out the dates I want and work out where that is on the timeline but I am having difficultly in communicating that to Excel.The process for saving the image is to select a range of cells, copy them, create a blank chart and paste the cells into it. this chart is then saved as the image. My difficulty is coming from specifying that range. MSProject is working out the integer values of the rows and columns but Excel won't recpognise that. I have tried turning on the numbered column fuction but it doesnt work. Can anyone help on this?Matt
 

Some videos you may like

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off

Watch MrExcel Video

Forum statistics

Threads
1,122,469
Messages
5,596,316
Members
414,053
Latest member
Dual Showman

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top