সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
ভিজ্যুয়াল বেসিক ফর অ্যাপ্লিকেশান (ভিবিএ) ম্যাক্রো সহ একটি এক্সেল ফাইল সামঞ্জস্যপূর্ণ বলে বিবেচিত হয় যদি ম্যাক্রোতে ব্যবহৃত সমস্ত API অ্যাপস স্ক্রিপ্টে সরাসরি সমতুল্য থাকে। যদি আপনার ম্যাক্রোগুলি সম্পূর্ণরূপে সামঞ্জস্যপূর্ণ না হয়, তাহলে আপনি অ্যাপস স্ক্রিপ্টের সাথে কাজ করার জন্য সমাধান প্রয়োগ করতে বা কোড সামঞ্জস্য করতে সক্ষম হতে পারেন৷
আপনি স্বয়ংক্রিয়ভাবে আপনার ফাইলগুলিকে যেমন আছে-তে রূপান্তর করতে পারেন কিনা বা আপনার কোডে সামঞ্জস্য করতে হবে কিনা তা নির্ধারণ করতে ম্যাক্রো কনভার্টারের সামঞ্জস্যপূর্ণ প্রতিবেদন ব্যবহার করুন৷
আপনি যখন একটি সামঞ্জস্যপূর্ণ প্রতিবেদন তৈরি করেন, তখন আপনার প্রতিটি ফাইল এবং API-এ নিম্নলিখিত স্থিতিগুলির মধ্যে একটি প্রয়োগ করা হয়:
স্ট্যাটাস
সংজ্ঞা
ঠিক সমর্থিত
এই ফাইলগুলিতে এপিআই রয়েছে যেগুলির সমস্ত অ্যাপস্ স্ক্রিপ্টে সরাসরি সমতুল্য রয়েছে৷
সমাধানের সাথে সমর্থিত
এই ফাইলগুলিতে কমপক্ষে একটি API রয়েছে যা একটি সমাধানের সাথে সমর্থিত হতে পারে।
আরো তদন্ত প্রয়োজন
এই ফাইলগুলিতে কমপক্ষে একটি API রয়েছে যা আপনাকে কীভাবে এগিয়ে যেতে হবে তা নির্ধারণ করতে পর্যালোচনা করতে হবে৷ উদাহরণস্বরূপ, একটি সমতুল্য API নাও থাকতে পারে বা ম্যাক্রো কনভার্টার ব্যবহার করা API নির্ধারণ নাও করতে পারে।
ডান পাশের প্যানেলে, ম্যাক্রো কনভার্টার অ্যাড-অনে ক্লিক করুন . আপনি যদি পাশের প্যানেলটি দেখতে না পান, নীচে ডানদিকে, সাইড প্যানেল দেখান chevron_left ক্লিক করুন।
ফাইল এবং ফোল্ডার যোগ করুন ক্লিক করুন। ম্যাক্রো কনভার্টার শুধুমাত্র এক্সেল ফাইল সনাক্ত করে।
আপনি যে ফাইল বা ফোল্ডারগুলি বিশ্লেষণ করতে চান তা চয়ন করুন এবং নির্বাচন করুন ক্লিক করুন। একবারে 2,000 টিরও কম ফাইল নির্বাচন করুন৷
আপনার সামঞ্জস্যের প্রতিবেদনটি কোথায় সংরক্ষিত হবে তা পরিবর্তন করতে, গন্তব্য ফোল্ডার edit পরিবর্তন করুন ক্লিক করুন এবং আপনি যে ফোল্ডারটি চান তা নির্বাচন করুন। অন্যথায়, এটি আপনার MyDrive ফোল্ডারে সংরক্ষিত হবে।
রিপোর্ট তৈরি করুন ক্লিক করুন।
বিশ্লেষণ শেষ হলে, প্রতিবেদন দেখুন ক্লিক করুন।
সামঞ্জস্য প্রতিবেদন পর্যালোচনা করুন
আপনার ফাইল রূপান্তরের সাথে কীভাবে এগিয়ে যেতে হবে তা নির্ধারণ করতে আপনাকে সাহায্য করতে সামঞ্জস্যপূর্ণ প্রতিবেদনে বিশদ ব্যবহার করুন৷ আপনার প্রতিবেদনে নিম্নলিখিত বিভাগগুলি অন্তর্ভুক্ত রয়েছে:
সারাংশ : এই শীটটি জমা দেওয়া সমস্ত ফাইল এবং তাদের APIগুলির সামঞ্জস্যের একটি সমষ্টিগত বিশ্লেষণ দেয়৷
ফাইল - সামঞ্জস্যতা : এই শীটে ম্যাক্রো কনভার্টারে জমা দেওয়া প্রতিটি ফাইলের সামঞ্জস্যপূর্ণ অবস্থা এবং প্রতিটি ফাইলের বিশদ বিবরণ রয়েছে৷
ফাইল - বিশদ বিশ্লেষণ : এই শীটটি একটি ফাইলের মধ্যে API সম্পর্কে আরও তথ্য দেয় এবং প্রতিটি API সফলভাবে রূপান্তর করতে আপনি কী পদক্ষেপ নিতে পারেন। প্রথমে, উপরের ড্রপডাউন মেনু থেকে, একটি ফাইল নির্বাচন করুন। তারপর, নীচের ড্রপডাউন মেনু থেকে, একটি স্থিতি নির্বাচন করুন।
আপনি API-বাই-API ভিত্তিতে তদন্তের জন্য APIs নামক শীট ব্যবহার করে এবং সমাধান সহ API-এর ভিত্তিতে প্রতিবেদনটি পর্যালোচনা করতে পারেন।
কিভাবে এগিয়ে যেতে হবে তা নির্ধারণ করুন
প্রতিটি স্ট্যাটাসের জন্য আমরা যা সুপারিশ করি তা এখানে:
সমতুল্য Apps Script API দিয়ে অন্তত একটি VBA API প্রতিস্থাপন করতে আপনাকে কোড লিখতে হবে। সাধারণভাবে, আপনি রূপান্তরের সাথে এগিয়ে যেতে পারেন।
আপনি ফাইল রূপান্তর করার আগে বা পরে সমাধানের সাথে সমর্থিত হিসাবে চিহ্নিত VBA APIগুলিকে ম্যানুয়ালি প্রতিস্থাপন করতে পারেন। আমরা সুপারিশ করছি যে আপনি আগে থেকেই আপনার পরিবর্তনগুলি করুন ৷
আরো তদন্ত প্রয়োজন
অন্তত একটি API রূপান্তর করা যাবে না. আপনার কোডে সেই API-এর গুরুত্বের উপর নির্ভর করে, আপনি ফাইলটি রূপান্তর করতে পারবেন না। যে কেউ আসল VBA কোড বোঝে তার চূড়ান্ত মূল্যায়ন করা উচিত।
আপনি আপনার ফাইল রূপান্তর করার সিদ্ধান্ত নিলে, Apps Script দিয়ে অন্তত একটি VBA API প্রতিস্থাপন করতে আপনাকে কোড লিখতে হবে। আপনি ফাইল রূপান্তর করার আগে বা পরে প্রয়োজন তদন্ত হিসাবে চিহ্নিত VBA APIগুলিকে ম্যানুয়ালি প্রতিস্থাপন করতে পারেন। আমরা সুপারিশ করছি যে আপনি আগে থেকেই আপনার পরিবর্তনগুলি করুন ৷
[null,null,["2025-08-29 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eVBA macros with direct Apps Script equivalents are considered compatible and can be automatically converted using the Macro Converter add-on.\u003c/p\u003e\n"],["\u003cp\u003eThe Macro Converter's compatibility report identifies files as "Supported exactly", "Supported with workarounds", or "Needs more investigation", guiding your conversion strategy.\u003c/p\u003e\n"],["\u003cp\u003eFor files needing workarounds or further investigation, manual code adjustments may be necessary before or after conversion using equivalent Apps Script APIs.\u003c/p\u003e\n"],["\u003cp\u003eThe compatibility report provides detailed analysis at the file and API level to help assess conversion feasibility and required actions.\u003c/p\u003e\n"],["\u003cp\u003eAfter reviewing the report, proceed with file conversion, addressing potential issues as outlined in the documentation.\u003c/p\u003e\n"]]],[],null,["# Determine if VBA macros are compatible\n\nAn Excel file with Visual Basic for Applications (VBA) macros is considered\ncompatible if all APIs used in the macros have a direct equivalent in Apps\nScript. If your macros aren't fully compatible, you might be able to apply\nworkarounds or adjust the code to make them work with Apps Script.\n\nUse the Macro Converter's compatibility report to determine if you can\nautomatically convert your files as-is or if you need to make adjustments to\nyour code.\n\nWhen you generate a compatibility report, one of the following statuses is\napplied to each of your files and APIs:\n\n| Status | Definition |\n|--------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **Supported exactly** | These files contain APIs that all have direct equivalents in Apps Script. |\n| **Supported with workarounds** | These files contain at least one API that can be supported with a workaround. |\n| **Needs more investigation** | These files contain at least one API that you need to review to determine how to proceed. For instance, there might not be an equivalent API, or the Macro Converter might not have determined the API in use. |\n\nGenerate a compatibility report\n-------------------------------\n\n1. On your computer, open [Google Drive](https://drive.google.com/drive/my-drive).\n2. On the right side panel, click the Macro Converter add-on . If you don't see the side panel, at the bottom right, click Show side panel chevron_left.\n3. Click **Add files and folders**. The Macro Converter only recognizes Excel files.\n4. Choose the files or folders you want to analyze and click **Select**. Select fewer than 2,000 files at a time.\n5. To change where your compatibility report is saved, click Change destination folder edit, and select the folder you want. Otherwise, it's saved in your MyDrive folder.\n6. Click **Generate report**.\n7. When the analysis completes, click **View report**.\n\nReview the compatibility report\n-------------------------------\n\nUse the details in the compatibility report to help you decide how to proceed\nwith your file conversion. Your report includes the following sections:\n\n- **Summary**: This sheet gives an aggregated analysis of the compatibility of all submitted files and their APIs.\n- **Files - compatibility**: This sheet lists every file submitted to the Macro Converter with the compatibility status and details of each file.\n- **Files - detailed analysis**: This sheet gives more information about the\n APIs within a file and what actions you can take to successfully convert each\n API. First, from the top dropdown menu, select a file. Then, from the bottom\n dropdown menu, select a status.\n\n | **Note:** If multiple files have the same name, next to the file names, use the unique identifiers to tell the difference between them. You can open the files in Drive and look for the unique identifiers in the URLs: `https://drive.google.com/file/d/\u003cfile_identifier\u003e/view`.\n\nYou can also review the report on an API-by-API basis using the sheets called\n**APIs to investigate** and **APIs with workarounds**.\n\nDetermine how to proceed\n------------------------\n\nHere's what we recommend for each status:\n\n| Status | Recommendation |\n|--------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **Supported exactly** | The same logic from your VBA APIs will be replicable in Apps Script. [Proceed with the conversion](/apps-script/guides/macro-converter/convert-files). |\n| **Supported with workarounds** | You need to write code to replace at least one VBA API with the equivalent Apps Script API. In general, you can proceed with the conversion. You can manually replace the VBA APIs marked as *Supported with workarounds* either before or after you convert the file. We recommend that you [make your changes beforehand](/apps-script/guides/macro-converter/convert-files#modify_incompatible_vba_apis). |\n| **Needs more investigation** | At least one API can't be converted. Depending on the importance of that API in your code, you might not be able to convert the file. Someone who understands the original VBA code should do the final evaluation. \u003cbr /\u003e If you decide to convert your file, you need to write code to replace at least one VBA API with Apps Script. You can manually replace the VBA APIs marked as *Needs investigation* either before or after you convert the file. We recommend that you [make your changes beforehand](/apps-script/guides/macro-converter/convert-files#modify_incompatible_vba_apis). |\n\nAfter you assess your compatibility report, see [Convert VBA macros to Apps\nScript](/apps-script/guides/macro-converter/convert-files).\n\nRelated articles\n----------------\n\n- [Macro Converter add-on overview](/apps-script/guides/macro-converter/overview)\n- [Convert VBA macros to Apps Script](/apps-script/guides/macro-converter/convert-files)\n- [Fix errors in your converted code](/apps-script/guides/macro-converter/fix-conversion-errors)\n- [Address common issues](/apps-script/guides/macro-converter/address-conversion-issues)\n- [Watch Macro Converter tutorials](/apps-script/guides/macro-converter/tutorials)\n- [List of compatible VBA APIs](/apps-script/guides/macro-converter/compatible-vba-apis)"]]