Categories
Welcome Center
Education & Development
Discussions
Certification Preparation
Recent Posts
Groups
Free Resources
Ebooks
Free Workshops
Trending Certifications Infographic
Infosec Training
IT & Security Training
Live Boot Camps
Security Awareness Training
About Infosec Institute
Home
Discussions
Off Topic
Any VBA Excel Gurus?
the_Grinch
Ok, we are migrating from a Unix based ERP to Microsoft Dynamics. The reports are text files and I get to help convert them into Excel files. While not difficult (for the most part) it is time consuming and amongst my other duties it would be nice to let things just run themselves. I picked up a couple of books on VBA, but I wanted to see if what I want is possible or if I should just continue the work manually (I will still look to learn VBA either way).
Basically, I have 3 Excel workbooks. One is basically a budget type one with old codes, one is a list of old codes and what their new codes should be, and one is the one that I am creating. I put the old codes on the one I am creating as a reference so I don't lose my place. What I want to happen is this: copy old code from my sheet, search for it in the workbook with old codes and what the new codes should be, find old code then copy and paste 4 columns on the same row (I, J, K, L), then go to my sheet and paste those in the row (using the old code as a reference) in columns A, B, C, and D. From there search the new code in the budget sheet and copy three columns in that row (don't remember what letter the columns are) and paste them back into my sheet in the row (old code as reference) in E, F, and G. I did do some of it, was able to copy the active cell (old code), search it in the workbook, and copy column I in that row.
Thanks, in advance!
Find more posts tagged with
Save $250 on 2025 certification boot camps from Infosec!
Book now with code EOY2025
Button
Comments
RobertKaucher
Grinch,
I assume that you then need to **** this into the ERP system after you are done processing. If you are a Unix guy I would also assume you might already have some Perl skills. Why not user Perl to work with these files? There are now Perl modules for Excel, ParseExcel and WriteExcel. I don't know, might be faster than teaching yourself VBA as you go.
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Best Of
INFOSEC Boot Camps
$250
OFF
Use code
EOY2025
to receive $250 off your 2025 certification boot camp!
BROWSE BOOT CAMPS