I would really appreciate a help here. I have a formula in cell C4 like this one
=INDIRECT("'"&B4&"'!D4")
To get the value of cell D4 in other sheet which name is written in B4
Excel Cells Appearance
Sheet appearance
I realized that sheet has 'space' in it hence the excel formula above. But when i try to put this formula in VBA, it gives me an error. and the formula is highlighted in green.
In VBA
Sheets("Data").Range("C4").Select ActiveCell.Formula = "=INDIRECT(" '"&B4&"'!D4")"
I don't understand it since i'm really an amateur in VBA. What should i do?
Thank you in advance