time2innov8
New Member
- Joined
- May 31, 2011
- Messages
- 3
All,
I have written VBA code that populates values in a form that are verified/modified by the end user. When the form is loaded the user selects the spreadsheet to read the data from. The code copies the filtered data from the spreadsheet and populates my form with navigation achieved by "Next" & "Previous" buttons. Once all records have been read a button to enable the updated data to be save is enabled.
Everything works correctly however I need to do the same task with the filtered data in-place. i.e. Read through each row, allows modification where necessary and once all rows are processed, save the data.
How do I loop through the rows in a filtered range?
With the existing code I am just increasing a counter by 1, however that will not work with the data when filtered.
time2innov8
I have written VBA code that populates values in a form that are verified/modified by the end user. When the form is loaded the user selects the spreadsheet to read the data from. The code copies the filtered data from the spreadsheet and populates my form with navigation achieved by "Next" & "Previous" buttons. Once all records have been read a button to enable the updated data to be save is enabled.
Everything works correctly however I need to do the same task with the filtered data in-place. i.e. Read through each row, allows modification where necessary and once all rows are processed, save the data.
How do I loop through the rows in a filtered range?
With the existing code I am just increasing a counter by 1, however that will not work with the data when filtered.
time2innov8