Hello,
Thanks for reading.
I can record simple macros using shapes. For example, I will paste in a shape, assign macro and then record away. However, there are instances whereby I have created more than 1 separate macros but I cannot seem to link them into one main macro.
As a simple demo, I have 2 separate macros, shown below. My question is, how can I modify Sub Oval4_Click() so that once it has performed its own macro that straight after it it will also work on Sub Oval5_Click()? At the moment I use 2 shapes but want to cut this down to just one.
Sub Oval4_Click()
'
' Oval4_Click Macro
'
Range("G40").Select
ActiveCell.FormulaR1C1 = "1"
Range("G41").Select
End Sub
Sub Oval5_Click()
'
' Oval5_Click Macro'
Range("G46").Select
ActiveCell.FormulaR1C1 = "2"
Range("G47").Select
End Sub
Thanks for reading.
I can record simple macros using shapes. For example, I will paste in a shape, assign macro and then record away. However, there are instances whereby I have created more than 1 separate macros but I cannot seem to link them into one main macro.
As a simple demo, I have 2 separate macros, shown below. My question is, how can I modify Sub Oval4_Click() so that once it has performed its own macro that straight after it it will also work on Sub Oval5_Click()? At the moment I use 2 shapes but want to cut this down to just one.
Sub Oval4_Click()
'
' Oval4_Click Macro
'
Range("G40").Select
ActiveCell.FormulaR1C1 = "1"
Range("G41").Select
End Sub
Sub Oval5_Click()
'
' Oval5_Click Macro'
Range("G46").Select
ActiveCell.FormulaR1C1 = "2"
Range("G47").Select
End Sub
Last edited: