+ Reply to Thread
Results 1 to 1 of 1

Search for integer & decimals in set range

  1. #1
    Forum Contributor
    Join Date
    10-07-2013
    Location
    Wilts, England
    MS-Off Ver
    Excel 2013
    Posts
    100

    Search for integer & decimals in set range

    Hi All,
    I posted earlier today about an issue I'm having with a serch script. I think I have a better handel on what I'm looking for however I don't know how to go about writing the code for it, I have searched around on the forums but I can't find somthing I can adapt for my uses.
    What I am trying to do is create a pallet marker sheet (word template) which is populated with data from my delivery note (excel wb)
    So what I'm looking to do is write a search function which; Runs throught col I, when it finds a cell which contains a number I want to check if its an integer or decimal. If the number is an integer then run the bookmark code I already have. I would like to set a public variable which would be given the found row number of the serach function. Idealy when a decimal is found I would like to loop to find any other decimals and add more than one bookmark to show that a pallet is being shared. However this may be too much and a msgbox would suffice. I would like the code to run through every cell in range I16-I35.
    Here is the link to the other post from this a.m;
    http://www.excelforum.com/excel-prog...ml#post3587745
    Any help or a push in the right direction would be great!!
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 06-30-2013, 03:30 PM
  2. UDF - Integer NOT in range
    By vetinari in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-27-2011, 10:31 PM
  3. Count the number of occurrences of an integer withing a larger integer
    By nnktran in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-26-2010, 01:04 PM
  4. Selecting Range based on integer
    By odyeiop in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-15-2009, 10:29 PM
  5. format decimals to integer
    By walid66 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-06-2008, 02:04 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1