mitenikolov
New Member
- Joined
- Feb 6, 2020
- Messages
- 6
- Office Version
- 2016
- Platform
- Windows
Hello,
This is my Currently Excel Sheet
Cell DP3 contains a Formula that is "CONCATENATE" from another sheet with name "CODICI".
What I would like to do is
1) Copy the formula from the cell DP3 and paste it in cell DQ3 with the numbers + 1.
2) So i the cell DQ3 I would have the following formula: "=CONCATENATE(CODICI!$F$144;" - ";CODICI!$D$144)"
This is what I tried so far but it doesn't seem to work properly
Is there a way to get manipulate the formula thought code? I already know how to store it into a String, but I don't know how to change it properly.
Thank you.
This is my Currently Excel Sheet
Cell DP3 contains a Formula that is "CONCATENATE" from another sheet with name "CODICI".
What I would like to do is
1) Copy the formula from the cell DP3 and paste it in cell DQ3 with the numbers + 1.
2) So i the cell DQ3 I would have the following formula: "=CONCATENATE(CODICI!$F$144;" - ";CODICI!$D$144)"
This is what I tried so far but it doesn't seem to work properly
VBA Code:
Range("DP3").Select
Selection.Copy
Range("DQ3").PasteSpecial xlPasteFormulas
Is there a way to get manipulate the formula thought code? I already know how to store it into a String, but I don't know how to change it properly.
Thank you.