![]() |
How to check that a string is a valid formula ?
Hi,
How do you check in VBA code that a string is a valid formula ? Thanks. -- Regards, Adrian |
How to check that a string is a valid formula ?
Hi
try using Application.evaluate for this -- Regards Frank Kabel Frankfurt, Germany Adrian wrote: Hi, How do you check in VBA code that a string is a valid formula ? Thanks. |
How to check that a string is a valid formula ?
Hi,
Do you mind explaining in detail ? Thanks. -- Regards, Adrian "Frank Kabel" wrote in message ... Hi try using Application.evaluate for this -- Regards Frank Kabel Frankfurt, Germany Adrian wrote: Hi, How do you check in VBA code that a string is a valid formula ? Thanks. |
How to check that a string is a valid formula ?
Hi
e.g. try msgbox application.evaluate("=A1+A2") -- Regards Frank Kabel Frankfurt, Germany Adrian wrote: Hi, Do you mind explaining in detail ? Thanks. Hi try using Application.evaluate for this -- Regards Frank Kabel Frankfurt, Germany Adrian wrote: Hi, How do you check in VBA code that a string is a valid formula ? Thanks. |
How to check that a string is a valid formula ?
Thanks.. :-)
-- Regards, Kok Hsing (Guoxing) "Frank Kabel" wrote in message ... Hi e.g. try msgbox application.evaluate("=A1+A2") -- Regards Frank Kabel Frankfurt, Germany Adrian wrote: Hi, Do you mind explaining in detail ? Thanks. Hi try using Application.evaluate for this -- Regards Frank Kabel Frankfurt, Germany Adrian wrote: Hi, How do you check in VBA code that a string is a valid formula ? Thanks. |
How to check that a string is a valid formula ?
Depending on what you're doing you may also want to check
that the first character is an "=" Regards, Peter Hi e.g. try msgbox application.evaluate("=A1+A2") -- Regards Frank Kabel Frankfurt, Germany Adrian wrote: Hi, Do you mind explaining in detail ? Thanks. Hi try using Application.evaluate for this -- Regards Frank Kabel Frankfurt, Germany Adrian wrote: Hi, How do you check in VBA code that a string is a valid formula ? Thanks. . |
All times are GMT +1. The time now is 12:13 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com