Please Login or Register to view this content.
Please Login or Register to view this content.
Last edited by lucas94; 12-20-2021 at 03:16 AM. Reason: Clean code
Administrative Note:
We would very much like to help you with your query, however you need to include code tags around your code.
Please take a moment to add the tags. Posting code between [code]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/code] tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.
Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here
(Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
this macro uses a defined name "MySerialNumber" for that incremental number.Please Login or Register to view this content.
Last edited by bsalv; 12-17-2021 at 10:51 AM.
Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.
Hi bsalv, how do i edit my code and include MySerialNumber?
my code has to be inserted in your code, in place of the actual "FOR ... NEXT" loop.
The value of "MySerialNumber", you can find (and modify) in the "Name Manager" on the ribbon "Formulas"
Edit : important !!! I forgot a point in my previous post.
Thanks bsalv
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks