Jump to content
Sign in to follow this  

Read Excel Row Value

Recommended Posts


This is my trouble

I wanna take the value in a row but i wanna only take the word before the dot

Here is a example

This is my row value "Autoit forum is the best.com"

I wanna put in a variable only "autoit forum is the best" without the ".com"

$package2 = $oExcel3.Cells($search_cell.Row,3).Value

GUICtrlSetData ( $input7, $package2)

Thanks a lot for your help

Share this post

Link to post
Share on other sites

I think you can use a regular expression statement... after "$package2 = " and before "GUICtrlSetData". There could be an easier way but why can't I think of it??

$aTmp = StringRegExp($package2, "(.*)\.", 3)


Edited by MrMitchell

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...