Balajibenz
Board Regular
- Joined
- Nov 18, 2020
- Messages
- 80
- Office Version
- 2013
- Platform
- Windows
Hi Evryone,
I a new to VBA and trying to do a automation.
I Hav a user unput date which stored in a string "strdate". now i want a code that looks for the date in row 3 of sheet1 and if the date is present it has to publish strdate + 7 days in the immediate next cell to its right.
lets say user input is 10/17/2020 which is found to be in B3 then code has to put 10/24/2020 in C3. if date is not found it can ignore it.
Also if possible it has to publish the text in the format "XXX to Oct 24" in the cell C2. highlighted part of text has to be changed accoring to the date in the below cell. I am happy to have code for the first ask above.
I a new to VBA and trying to do a automation.
I Hav a user unput date which stored in a string "strdate". now i want a code that looks for the date in row 3 of sheet1 and if the date is present it has to publish strdate + 7 days in the immediate next cell to its right.
lets say user input is 10/17/2020 which is found to be in B3 then code has to put 10/24/2020 in C3. if date is not found it can ignore it.
Also if possible it has to publish the text in the format "XXX to Oct 24" in the cell C2. highlighted part of text has to be changed accoring to the date in the below cell. I am happy to have code for the first ask above.