Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default output statement in marco plz


hi


my problem is get the result of a loop through output statement fo
example
IN THIS LOOP
i want to insert an outputsatement to get result

example:


For Each c In cell
sStr2 = sStr2 & c.Value
sStr1 = sStr1 & c.Offset(-1, 0).Value

HERE I WANT A OUTPUT statement for value in sStr1. to display the valu
in the string.

Next
If sStr2 < sStr1 Then

HERE I WANT A OUTPUT statement to display the value in sStr2an
sStr1.



cell.ClearContents
End If


SO, plz help regarding this one

thanks
sre

--
sreedha
-----------------------------------------------------------------------
sreedhar's Profile: http://www.excelforum.com/member.php...fo&userid=2758
View this thread: http://www.excelforum.com/showthread.php?threadid=47324

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 414
Default output statement in marco plz

You could use: Debug.Print sStr1
This will show the value of sStr1 in the immediate window.

Hope this helps
Rowan

sreedhar wrote:
hi


my problem is get the result of a loop through output statement for
example
IN THIS LOOP
i want to insert an outputsatement to get result

example:


For Each c In cell
sStr2 = sStr2 & c.Value
sStr1 = sStr1 & c.Offset(-1, 0).Value

HERE I WANT A OUTPUT statement for value in sStr1. to display the value
in the string.

Next
If sStr2 < sStr1 Then

HERE I WANT A OUTPUT statement to display the value in sStr2and
sStr1.



cell.ClearContents
End If


SO, plz help regarding this one

thanks
sree


Reply
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
If statement to output specific text if 2 criteria are met? mcmilja Excel Discussion (Misc queries) 1 June 4th 08 10:32 PM
Marco Puzzled Excel Discussion (Misc queries) 3 July 30th 07 05:09 PM
Getting output from an excel output back to cscript.. J S Excel Programming 0 January 21st 04 09:06 PM
Using a Loop Statement to Pass Data between WKS and Output File Belzeddar Excel Programming 2 January 14th 04 07:40 AM


All times are GMT +1. The time now is 12:42 PM.

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

About Us

"It's about Microsoft Excel"