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
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".

Forum statistics

Threads
1,214,875
Messages
6,122,040
Members
449,063
Latest member
ak94

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
Back
Top