LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 31
Default Loop thought contents

Hi all,

I have excel sheet and want to loop thought it contents and show the value
of the contents on a form. This the code I have and it just wont work and I
cant see why any help be great thanks?

Dim intshowrow As Integer
intshowrow = 0

Do Until Data.Range("a2").Offset(intshowrow, 0).Value < ""
intshowrow = intshowrow + 1
Loop


'This will take the data enterd in the form and add it to the data sheet.
Software_form.txtSoftware2.Value =
Data.Range("a2").Offset(intshowrow, 0)
Data.Range("a2").Offset(intshowrow, 0) =
Software_form.txtSoftware2.Value

It's Probley sumthing silly

Why I am here I will also need to have an update button and Delete button.
So when the user come's to data they want to update they can. And when they
dont need data any more can press delete and it will remove the whole row
what best way to do this ?

once again thanks

p.s I am pretty new to VBA
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Loop through range and add each cell contents to a string Daveo Excel Programming 3 April 13th 07 12:15 PM
How do I create a loop to merge contents of rows 1-4 across column Helmut Excel Programming 2 November 3rd 06 09:11 PM
Don't think it's possible, but I thought I would ask. smaumau Excel Worksheet Functions 1 April 3rd 06 11:20 PM
How easy is it to loop in VBA based on cell contents? Lee Harris Excel Worksheet Functions 3 November 25th 05 01:21 AM
On second thought ... Jerry Kinder New Users to Excel 0 November 26th 04 02:38 AM


All times are GMT +1. The time now is 06:50 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"