Press Alt+F11 to open the Visual Basic Editor. Select your workbook in the window on the left and choose Insert|Module from the Menu. Paste the code into the window on the right. Press Alt+F11 to return to your workbook, press Alt+F8 to show the Macros dialog, select the macro Test and click Run.
Thanks the info. But is there no other way formula to show up input the cell? For example Column A Text input the Arabic number and the Text Column B is number of conversation and even how many rows to input the numbers.
There is no built-in function to convert a Hijri date to Gregorian if that's what you mean. How did you enter the dates in column A? You can enter Hijri dates if the cell is formatted appropriately as shown here:
We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel
Which adblocker are you using?
Disable AdBlock
Follow these easy steps to disable AdBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the icon in the browser’s toolbar. 2)Click on the "Pause on this site" option.
Go back
Disable AdBlock Plus
Follow these easy steps to disable AdBlock Plus
1)Click on the icon in the browser’s toolbar. 2)Click on the toggle to disable it for "mrexcel.com".
Go back
Disable uBlock Origin
Follow these easy steps to disable uBlock Origin
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.
Go back
Disable uBlock
Follow these easy steps to disable uBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.