Search notes:

Excel VBA: Insert numerical text as text

option explicit

sub main() ' {

    dim rng as range
    set rng = range(cells(1,1), cells(1,3))

    rng.numberFormat = "@"
    rng              = array("01", "+2", "1E4")

    dim cel as range
    for each cel in rng
        cel.errors(xlNumberAsText).ignore = true
    next cel

end sub ' }
Github repository about-Excel, path: /data-types/VBA/insert-numerical-text-as-text.vb

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Microsof...', 1758209513, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Microsoft/Office/Excel/data-types/VBA/insert-numerical-text-as-text(51): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78