Write a VBA script: copy format between Excel files
$30-250 USD
완료함
게시됨 4년 이상 전
$30-250 USD
제출할때 지불됩니다
I regularly create tables in a statistical software and often export them as Microsoft Excel files to share them with my colleagues.
Due to modification on the upstream analysis, I sometimes need to export Excel files with virtually identical formats, but different values.
The problem is that I need to MANUALLY format the Excel file every time I export tables, hence this project.
I am seeking someone who can write a VBA script which accomplishes the following:
1. On a GUI, asks existing Excel file A, a worksheet in it X, and a worksheet Y in the Excel file in which the VBA resides.
2. Reads the format of worksheet X.
3. Applies the above format to worksheet Y.
I assume loading the VBA script, saved as a .vb file, using Microsoft Visual Basic for Applications executed from Excel's "Development" tab - "Visual Basic". I do understand that an alternative can be to create a single executable file from the VBA, but I prefer running a .vb file for possible future modifications.
The Excel files have the following constraints. It will be OK as long as the VBA script works within these.
1. The first row contains column names. Every column has a column name. No blank.
2. The second and lower rows all contain data. Characters or numbers. Data can be blank (missing values).
3. Formatting options that I regularly use are:
- Column width
- Cell Format
- Conditional formatting
- Scroll lock
- Page layout
- Sort
However, copying ALL the formatting options is the requirement of this project. Please let me know in advance if you believe it makes sense to restrict the type of formatting options to copy for fast execution, etc.
4. The file does NOT contain: hyperlinks, pivot tables, graphs, diagrams, pictures, comments, form controls, scripts.
Columns must be matched using the value of the first row. This is because I sometimes add or delete columns in the statistical software. Failure to match renamed columns is OK.
Please forgive me when there is any incorrect wording of Excel's features here.
Hi, Good day... I can help you with easy formatting option as you describe, I can write you neat VBA code to handle all your formating problem and speed up your workflow.
I have rich experience in VBA-Macro(Excel, Powerpoint, Word, Web scrapping, API, ....), and I do my best to save your time and pocket. Please feel free to contact me.
Services:
# Accuracy
# Customer satisfaction is my first "Priority"
# Time Commitment
# Availability
Thanks,
Shahin
I am MBA accounts and finance, Mphill in computer science and having seven years of experience in Excel (vba & macro's) and Power Bi dashboards development.
I already done many projects of:
• Excel Automation.
• Excel Reports system.
• Excel financial models.
• Power Bi dashboards.
• Excel dashboard designing.
• Excel Solver.
• Microsoft Access.
• Excel calculators.
• Excel vba.
• Excel Tracker.
• Excel macro's.
• Visualizations, Chart's, Table's.
• word macro's.
I have ability to do your project within your deadline, I need some discussion to make the things clear.
Thanks.
Hello,
I think it is better if the file in xlsm file, which contains:
- vba code for exporting all style and format
- worksheet template you need to export.
So, when you load this . xlsm file it will export all format and styles within this template to your current xls/xlsx automatically. Pretty easy, quick, and can be modified at future
Let me know if it is acceptable solution for your requirement.
Best Regards,
Khamid
Hi, I can develop a VBA script for you which is in an Excel file saved as .xlsm, in this way you will be able to edit the cod and all setting that we use to copying format. In this Excel file, you will be able to pick up the first file (which contains the formats) and destination file (which you want to formatting it), then VBA will copy the formats from the first file and then paste them in the second file (all column with, Cell format, Conditional formatting scroll lock, page layout and will sort the table). Also, if you send me those two files I may have better options as well. Please send me message to discuss more.
Hey there,
Hope you are doing fine. I have been doing work in Microsoft scripting, VBA, formulas, graphs and dashboard creation using pivots, for the past 5 years. I can do this job perfectly for you if you share more details about it.
Let's talk and discuss the projects for which you want me to work.
Waiting for your response.