steve_bris
Registered User.
- Local time
- Tomorrow, 09:38
- Joined
- Mar 22, 2005
- Messages
- 30
Hi.
Firstly i would like to say how great the board is......I would have been stuck doing quit a few things without the search function and all the knowledge on the here
I am trying to copy and paste certain charts depending on what is in the chart title
This is part of a lot bigger code so I have just given the relevant line and a few surrounding ones
in this example I want to see if the title contains 111 with other words around it.......I also will want to search for specific words
Thanks for any help
Steve
intcrtNo =1
Sheets("Chart" & intCrtNo).Select
If ActiveChart.ChartTitle Like "*111*" Then <---------------------what is the best way or correct syntax for searching the chart title ?
intCrtNo = intCrtNo + 1
'paste it......
Else
'paste is somewhere else
intCrtNo = intCrtNo + 1
End if
Firstly i would like to say how great the board is......I would have been stuck doing quit a few things without the search function and all the knowledge on the here
I am trying to copy and paste certain charts depending on what is in the chart title
This is part of a lot bigger code so I have just given the relevant line and a few surrounding ones
in this example I want to see if the title contains 111 with other words around it.......I also will want to search for specific words
Thanks for any help
Steve
intcrtNo =1
Sheets("Chart" & intCrtNo).Select
If ActiveChart.ChartTitle Like "*111*" Then <---------------------what is the best way or correct syntax for searching the chart title ?
intCrtNo = intCrtNo + 1
'paste it......
Else
'paste is somewhere else
intCrtNo = intCrtNo + 1
End if