This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Option Explicit | |
'Main Function www.ExcelDataPro.com | |
Function SpellNumberEDP(ByVal MyNumber, Optional MyCurrency As String = "") | |
Dim Dollars, cents, Temp | |
Dim DecimalPlace, Count | |
ReDim Place(9) As String | |
Place(2) = " Thousand " | |
Place(3) = " Million " | |
Place(4) = " Billion " | |
Place(5) = " Trillion " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Option Explicit | |
'Main Function www.ExcelDataPro.com | |
Function SpellNumberEDP2(ByVal MyNumber, Optional MyCurrency As String = "") | |
Dim Dollars, Cents, Temp | |
Dim DecimalPlace, Count, x | |
ReDim Place(9) As String | |
Place(2) = " Thousand " | |
Place(3) = " Lacs " | |
Place(4) = " Crores " | |
Place(5) = " Hundred Crores " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Option Explicit | |
'Main Function www.ExcelDataPro.com | |
Function SpellNumberEDP(ByVal MyNumber, Optional MyCurrency As String = "") | |
Dim Dollars, cents, Temp | |
Dim DecimalPlace, Count | |
ReDim Place(9) As String | |
Place(2) = " Thousand " | |
Place(3) = " Million " | |
Place(4) = " Billion " | |
Place(5) = " Trillion " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Option Explicit | |
'Main Function www.ExcelDataPro.com | |
Function SpellNumber1(ByVal MyNumber) | |
Dim Dollars, Cents, Temp | |
Dim DecimalPlace, Count | |
ReDim Place(9) As String | |
Place(2) = " Thousand " | |
Place(3) = " Million " | |
Place(4) = " Billion " | |
Place(5) = " Trillion " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Option Explicit | |
'Main Function www.ExcelDataPro.com | |
Function SpellNumberEDP2(ByVal MyNumber, Optional MyCurrency As String = "") | |
Dim Dollars, Cents, Temp | |
Dim DecimalPlace, Count, x | |
ReDim Place(9) As String | |
Place(2) = " Thousand " | |
Place(3) = " Lacs " | |
Place(4) = " Crores " | |
Place(5) = " Hundred Crores " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{HTTP_HOST} ^old-domain\.com$ [OR] | |
RewriteCond %{HTTP_HOST} ^www\.old-domain\.com$ | |
RewriteRule (.*)$ https://www.new-domain.com/$1 [R=301,L] | |
</IfModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Part of SEO Interview Questions - https://imtips.co/seo-interview-questions.html | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond %{REQUEST_FILENAME}\.php -f | |
RewriteRule ^(.*).php?(.*)$ $1.html?$2 [R,L] | |
</IfModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//* Copy the above PHP opening tag if and only if your functions.php has a closing PHP tag | |
function add_gtm_head() { ?> | |
<!-- Paste Your GTM Header Code Here --> | |
<?php } add_action('wp_head','add_gtm_head',10); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//* Copy the above PHP opening tag if and only if your functions.php has a closing PHP tag | |
function add_google_analytics() { ?> | |
<!-- Paste Your Google Analytics Code Here --> | |
<?php } add_action('wp_head','add_google_analytics',10); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Source code by WES of Stackoverflow | |
* https://stackoverflow.com/questions/3657023/how-to-detect-shot-angle-of-photo-and-auto-rotate-for-website-display-like-desk/18919355#18919355 | |
*/ | |
function correctImageOrientation($filename) | |
{ |
NewerOlder