I have an Excel sheet attached where I have a column called "Numbers"
The next column called "Button" needs a VBA code where it does the following: Remove ABC from the "Numbers" and in case of a -1 or -2 also remove this + add the number 100.
So ABC123456 becomes 100123456 and ABC123456-1 also becomes 100123456
I did manage to get a VBA output in the column "Button" where it just removes ABC using something
But I struggle to create one meeting all 3 requirements.Please Login or Register to view this content.
Once this output in the column "Button" has been established I want to use this same cell for the following function (button)
But on cell activation it needs to open the URL google.com but with the "Button" cell added after a /Please Login or Register to view this content.
So on cell activation it needs to open the following URL: google.com/100123456
Bookmarks