You need to declare the variables outside the function:
Public iRaw As Integer
Public iColumn As Integer
Function find_results_idle()
iRaw = 1
iColumn = 1
More Related Contents:
- Save excel file multiple times with file names in another workbook.
- Sequence of numbers based on start and end value of 2 cells [closed]
- Function to convert column number to letter?
- How to use the Implements in Excel VBA
- How to pause for specific amount of time? (Excel/VBA)
- VBA code doesn’t run when cell is changed by a formula
- Easiest way to loop through a filtered list with VBA?
- What is the difference between dim and set in vba
- Change date format using substitute or replace
- Parsing an ISO8601 date/time (including TimeZone) in Excel
- Getting the actual usedrange
- Delete a row in Excel VBA
- VBA: Convert Text to Number
- Iterating through populated rows
- How can I run VBA code each time a cell gets its value changed by a formula?
- How to convert 32 bit VBA code into 64 bit VBA code
- Using VBA to detect which decimal sign the computer is using
- Referencing Excel Userform Control Name Value From String (VBA)
- Fill formula down till last row in column
- If string contains word from list, return value adjacent to list value
- Refreshing all the pivot tables in my excel workbook with a macro
- Countif With Multiple OR Criteria
- Vlookup to copy color of a cell
- every possible combination of the contents of 2 columns in excel
- excel vba freeze pane without select
- How to delete rows in Excel based on criteria using VBA?
- Converting a string representation of a constant into a constant?
- Macro to export MS Word tables to Excel sheets
- VBA WinHTTP to download file from password proteced https website
- How to get the range of the visible rows after applying an advanced filter in Excel (VBA)