Hi Guys
I got two fields in different Sheets.
Sheet1.L2 contains Number & Text (0 Days; 1 Day; 2 Days; 21 Days;...)
The Reference Cell (ExecutionDays) only numbers
I Need to compare the two cells which is easy using =--LEFT(A1;FIND(" ";A1)-1) to only get the number value from Sheet1.A1. As I cant add any columns to the sheet I Need to do this in vba.
I am able to some very Basic comparison, but cant get it to run to meet m actual requirement as written above.
Can someone please share sample code how I can get the following code to work?
...
If Range("L" & cLine).Value <> bExecutionDays Then
...
I got two fields in different Sheets.
Sheet1.L2 contains Number & Text (0 Days; 1 Day; 2 Days; 21 Days;...)
The Reference Cell (ExecutionDays) only numbers
I Need to compare the two cells which is easy using =--LEFT(A1;FIND(" ";A1)-1) to only get the number value from Sheet1.A1. As I cant add any columns to the sheet I Need to do this in vba.
I am able to some very Basic comparison, but cant get it to run to meet m actual requirement as written above.
Can someone please share sample code how I can get the following code to work?
...
If Range("L" & cLine).Value <> bExecutionDays Then
...