Hi,
I am a familiar with VBA and have created several tools based on it. I am working on creation of a report right now and find myself stuck. My problem is as follows:
The report consists of several (20+) sheets. Each sheet contains 3 charts.
I have successfully created all the charts, and formatted them as per the requirement, however each chart needs to have several text boxes in specific areas of the charts.Each text box should refers to a cell in the sheet it is located in.
The way I approached this part was to create a chart template. I used vba code to import the same template for all the charts. (the cell addresses in the text box are same for each sheet.. but a chart text box formula refers to a cell like this ='Sheet1!'$A$1 as opposed to a simple text box which uses =$A$1)
The problem I face is that since I created the chart template for sheet1.. all the text boxes in Sheet 2,3,4,5,..n refer to the same cell like this ='Sheet1!'$A$1'
I had assumed that the template would automatically take the sheet name and since the cell address is same , I would get all my charts created.
Would appreciate your help in this
I am a familiar with VBA and have created several tools based on it. I am working on creation of a report right now and find myself stuck. My problem is as follows:
The report consists of several (20+) sheets. Each sheet contains 3 charts.
I have successfully created all the charts, and formatted them as per the requirement, however each chart needs to have several text boxes in specific areas of the charts.Each text box should refers to a cell in the sheet it is located in.
The way I approached this part was to create a chart template. I used vba code to import the same template for all the charts. (the cell addresses in the text box are same for each sheet.. but a chart text box formula refers to a cell like this ='Sheet1!'$A$1 as opposed to a simple text box which uses =$A$1)
The problem I face is that since I created the chart template for sheet1.. all the text boxes in Sheet 2,3,4,5,..n refer to the same cell like this ='Sheet1!'$A$1'
I had assumed that the template would automatically take the sheet name and since the cell address is same , I would get all my charts created.
Would appreciate your help in this