Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default StatusBar Msg?

Dim i as long, numrows as Long
numRows = 10000
for i = 1 to numrows
' code to process row
if i mod 100 = 0 then
Application.StatusBar = i & " rows processed"
end if
Next
Application.StatusBar = True

--
Regards,
Tom Ogilvy

"M." wrote in message
...
I'd like to show (like progres bar show ) msg in status bar how many rows
was procesed!

I need some suggestion!

Milos




  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default StatusBar Msg?

Pardon me if I am wrong. Application.StatusBar = False to return the
control of status bar to xl.

"Tom Ogilvy" wrote in message
...
Dim i as long, numrows as Long
numRows = 10000
for i = 1 to numrows
' code to process row
if i mod 100 = 0 then
Application.StatusBar = i & " rows processed"
end if
Next
Application.StatusBar = True

--
Regards,
Tom Ogilvy

"M." wrote in message
...
I'd like to show (like progres bar show ) msg in status bar how many

rows
was procesed!

I need some suggestion!

Milos






  #3   Report Post  
Posted to microsoft.public.excel.programming
M. M. is offline
external usenet poster
 
Posts: 18
Default StatusBar Msg?

Thank's Tom, in mintime i found this in help and now i try something else, i
have range 12 x 5 (row=12 and column=5). I'd like to cycled with for loop
throw each range row and put row value to exact location on next sheet. Do
you have some idea how to get each row from range and put it to next sheet.

Regards,
Milos


"Tom Ogilvy" wrote in message
...
Dim i as long, numrows as Long
numRows = 10000
for i = 1 to numrows
' code to process row
if i mod 100 = 0 then
Application.StatusBar = i & " rows processed"
end if
Next
Application.StatusBar = True

--
Regards,
Tom Ogilvy

"M." wrote in message
...
I'd like to show (like progres bar show ) msg in status bar how many

rows
was procesed!

I need some suggestion!

Milos






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default StatusBar Msg?

Yep - thanks - typo.

Application.StatusBar = False

--
Regards,
Tom Ogilvy

"JON-JON" wrote in message
...
Pardon me if I am wrong. Application.StatusBar = False to return the
control of status bar to xl.

"Tom Ogilvy" wrote in message
...
Dim i as long, numrows as Long
numRows = 10000
for i = 1 to numrows
' code to process row
if i mod 100 = 0 then
Application.StatusBar = i & " rows processed"
end if
Next
Application.StatusBar = True

--
Regards,
Tom Ogilvy

"M." wrote in message
...
I'd like to show (like progres bar show ) msg in status bar how many

rows
was procesed!

I need some suggestion!

Milos








  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default StatusBar Msg?

Can you copy it all at once

Range("XY").Copy Destination:=worksheets("Sheet2").Range("C9")


to loop through the rows.

irw = 10
for each rw in Range("XY").Rows
rw.copy Destination:=Worksheets("Sheet2").Cells(irw,1)
irw = irw + 3
Next

--
Regards,
Tom Ogilvy


"M." wrote in message
...
I forgot to mension that this range have name "XY".

Milos

"M." wrote in message
...
Thank's Tom, in mintime i found this in help and now i try something

else,
i
have range 12 x 5 (row=12 and column=5). I'd like to cycled with for

loop
throw each range row and put row value to exact location on next sheet.

Do
you have some idea how to get each row from range and put it to next

sheet.

Regards,
Milos


"Tom Ogilvy" wrote in message
...
Dim i as long, numrows as Long
numRows = 10000
for i = 1 to numrows
' code to process row
if i mod 100 = 0 then
Application.StatusBar = i & " rows processed"
end if
Next
Application.StatusBar = True

--
Regards,
Tom Ogilvy

"M." wrote in message
...
I'd like to show (like progres bar show ) msg in status bar how many

rows
was procesed!

I need some suggestion!

Milos










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
FIX in Statusbar Stefi Excel Discussion (Misc queries) 2 July 30th 08 01:34 PM
Reveal cell formats and extendable range in tool/statusbar/icon. Danny O'Hern ([email protected]) Excel Worksheet Functions 0 April 29th 05 01:16 PM


All times are GMT +1. The time now is 07:10 AM.

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"