Excel, how to use macros and conditioning.
Solved/Closed
Related:
- Excel, how to use macros and conditioning.
- Macros in excel download - Download - Spreadsheets
- Excel date format dd.mm.yyyy - Guide
- Transfer data from one excel worksheet to another automatically - Guide
- How to enable vba in excel - Guide
- How to take screenshot in excel - Guide
1 reply
TrowaD
Posts
2921
Registration date
Sunday September 12, 2010
Status
Moderator
Last seen
January 16, 2023
547
Aug 13, 2015 at 11:09 AM
Aug 13, 2015 at 11:09 AM
Hi Matt,
Different codes needs to be put in different locations but this is the most common one:
How to implement and run a code:
- From Excel hit Alt + F11 to open the "Microsoft Visual Basic" window.
- Go to the top menu in the newly opened window > Insert > Module.
- Paste the code in the big white field.
- You can now close this window.
- Back at Excel, hit Alt + F8 to display the available macro's.
- Double-click the macro you wish to run.
NOTE: macro's cannot be reversed using the blue arrows. Always make sure you save your file before running a code, so you can reopen your file if something unforeseen happens or you want to go back to the situation before the code was run.
As for your second question, you can try to use the text delimiter (or Text to Columns) found under the Data ribbon.
Try it and let us know if you get stuck.
Best regards,
Trowa
Different codes needs to be put in different locations but this is the most common one:
How to implement and run a code:
- From Excel hit Alt + F11 to open the "Microsoft Visual Basic" window.
- Go to the top menu in the newly opened window > Insert > Module.
- Paste the code in the big white field.
- You can now close this window.
- Back at Excel, hit Alt + F8 to display the available macro's.
- Double-click the macro you wish to run.
NOTE: macro's cannot be reversed using the blue arrows. Always make sure you save your file before running a code, so you can reopen your file if something unforeseen happens or you want to go back to the situation before the code was run.
As for your second question, you can try to use the text delimiter (or Text to Columns) found under the Data ribbon.
Try it and let us know if you get stuck.
Best regards,
Trowa
Aug 13, 2015 at 04:25 PM