Miguelinho87
New Member
- Joined
- May 29, 2021
- Messages
- 2
- Office Version
- 365
- 2019
- Platform
- Windows
Hi everybody, I'm Miguel from Canada.
I'm new and it's my first time posting here.
So if I do something wrong, let me know...
I already wrote many basic macros at the office to ease my work load but I'm learning by myself.
This one needs to be done by Monday (it was a request) and I'm not be sure I'll be able to do it since I need to stay with my daughter at the hospital while she's having her leg surgery.
So I really need your help...
Here is what I'm trying to do and how the macro should go:
1) Press a button to start the macro (I know how to link a macro to a button so not a problem)
2) Check cells in range J2 to J350
If empty : Go to next cell
If not empty : Copy "Resource" file placed in a definite path, paste it in the same folder with "_1" at the end, rename it with the corresponding reference (same row, column A) and then go to next cell in column J to keep checking.
I know it looks pretty simple and I think I already wrote something similar in the past but I can't remember where...
If someone can help me with this.
Thank you so much for your help !!!
Miguel
I'm new and it's my first time posting here.
So if I do something wrong, let me know...
I already wrote many basic macros at the office to ease my work load but I'm learning by myself.
This one needs to be done by Monday (it was a request) and I'm not be sure I'll be able to do it since I need to stay with my daughter at the hospital while she's having her leg surgery.
So I really need your help...
Here is what I'm trying to do and how the macro should go:
1) Press a button to start the macro (I know how to link a macro to a button so not a problem)
2) Check cells in range J2 to J350
If empty : Go to next cell
If not empty : Copy "Resource" file placed in a definite path, paste it in the same folder with "_1" at the end, rename it with the corresponding reference (same row, column A) and then go to next cell in column J to keep checking.
I know it looks pretty simple and I think I already wrote something similar in the past but I can't remember where...
If someone can help me with this.
Thank you so much for your help !!!
Miguel
Last edited by a moderator: