Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 84
Default MsgBox or like it for with requiring user input

I am going to be processing some large files and I would like to dispaly what
file I am process but I don't want the user to have to click on a button. I
would like the box to display all the time. Is that possible to do? Where
do I start?

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default MsgBox or like it for with requiring user input

You could use a userform.

But even simpler is to use the statusbar--Where you see Ready, Edit, Point in
the bottom left corner.

application.statusbar = now & " Processing: " & somevariablenamehere

at the end of your code, you can reset the statusbar with:

Application.statusbar = false


Nils Titley wrote:

I am going to be processing some large files and I would like to dispaly what
file I am process but I don't want the user to have to click on a button. I
would like the box to display all the time. Is that possible to do? Where
do I start?

Thanks


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 84
Default MsgBox or like it for with requiring user input

Dave

Thanks I will try that. I just want some thing that will give them a warm
and fuzzy.



"Dave Peterson" wrote:

You could use a userform.

But even simpler is to use the statusbar--Where you see Ready, Edit, Point in
the bottom left corner.

application.statusbar = now & " Processing: " & somevariablenamehere

at the end of your code, you can reset the statusbar with:

Application.statusbar = false


Nils Titley wrote:

I am going to be processing some large files and I would like to dispaly what
file I am process but I don't want the user to have to click on a button. I
would like the box to display all the time. Is that possible to do? Where
do I start?

Thanks


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 84
Default MsgBox or like it for with requiring user input

Dave,

I like it but you also have to have

Application.DisplayStatusBar = True

Thanks

"Dave Peterson" wrote:

You could use a userform.

But even simpler is to use the statusbar--Where you see Ready, Edit, Point in
the bottom left corner.

application.statusbar = now & " Processing: " & somevariablenamehere

at the end of your code, you can reset the statusbar with:

Application.statusbar = false


Nils Titley wrote:

I am going to be processing some large files and I would like to dispaly what
file I am process but I don't want the user to have to click on a button. I
would like the box to display all the time. Is that possible to do? Where
do I start?

Thanks


--

Dave Peterson

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default MsgBox or like it for with requiring user input

I always have that turned on, so I don't need to turn it on in code <vbg.

Nils Titley wrote:

Dave,

I like it but you also have to have

Application.DisplayStatusBar = True

Thanks

"Dave Peterson" wrote:

You could use a userform.

But even simpler is to use the statusbar--Where you see Ready, Edit, Point in
the bottom left corner.

application.statusbar = now & " Processing: " & somevariablenamehere

at the end of your code, you can reset the statusbar with:

Application.statusbar = false


Nils Titley wrote:

I am going to be processing some large files and I would like to dispaly what
file I am process but I don't want the user to have to click on a button. I
would like the box to display all the time. Is that possible to do? Where
do I start?

Thanks


--

Dave Peterson


--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 84
Default MsgBox or like it for with requiring user input

Dave,

Yea, you probably been developing VB application for a long time. I am just
developing some thing for a friend and I am learning some thing but I am lost.

I have another question..... can you give me an example of how I move to the
last row. I know how to get the last row value but I don't know how to make
that the starting point where I want to write the new set of data in the
workbook.

I have got the code to the point that I can read, I believe, multiple files
and it is process the data correctly. I believe what is happening now is
that when I write to the result workbook the data is over writing what I have.

I would appreciate your help.

Simple example.

Thanks


"Dave Peterson" wrote:

I always have that turned on, so I don't need to turn it on in code <vbg.

Nils Titley wrote:

Dave,

I like it but you also have to have

Application.DisplayStatusBar = True

Thanks

"Dave Peterson" wrote:

You could use a userform.

But even simpler is to use the statusbar--Where you see Ready, Edit, Point in
the bottom left corner.

application.statusbar = now & " Processing: " & somevariablenamehere

at the end of your code, you can reset the statusbar with:

Application.statusbar = false


Nils Titley wrote:

I am going to be processing some large files and I would like to dispaly what
file I am process but I don't want the user to have to click on a button. I
would like the box to display all the time. Is that possible to do? Where
do I start?

Thanks

--

Dave Peterson


--

Dave Peterson

  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default MsgBox or like it for with requiring user input

If I know the data, I can usually pick out a column that is always filled if
that row is used.

Then I use this kind of code:

Dim NextRow as long
with worksheets("sheet1")
NextRow = .cells(.rows.count,"Z").end(xlup).row + 1

.cells(nextrow,1).value = "This would be in column A"
.cells(nextrow,2).value = "This would be in column B"
.cells(nextrow,3).value = "This would be in column C"
End With

Change Z to the column you can pick out.

Nils Titley wrote:

Dave,

Yea, you probably been developing VB application for a long time. I am just
developing some thing for a friend and I am learning some thing but I am lost.

I have another question..... can you give me an example of how I move to the
last row. I know how to get the last row value but I don't know how to make
that the starting point where I want to write the new set of data in the
workbook.

I have got the code to the point that I can read, I believe, multiple files
and it is process the data correctly. I believe what is happening now is
that when I write to the result workbook the data is over writing what I have.

I would appreciate your help.

Simple example.

Thanks

"Dave Peterson" wrote:

I always have that turned on, so I don't need to turn it on in code <vbg.

Nils Titley wrote:

Dave,

I like it but you also have to have

Application.DisplayStatusBar = True

Thanks

"Dave Peterson" wrote:

You could use a userform.

But even simpler is to use the statusbar--Where you see Ready, Edit, Point in
the bottom left corner.

application.statusbar = now & " Processing: " & somevariablenamehere

at the end of your code, you can reset the statusbar with:

Application.statusbar = false


Nils Titley wrote:

I am going to be processing some large files and I would like to dispaly what
file I am process but I don't want the user to have to click on a button. I
would like the box to display all the time. Is that possible to do? Where
do I start?

Thanks

--

Dave Peterson


--

Dave Peterson


--

Dave Peterson
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
how to hve input box on msgbox pswanie Excel Programming 1 January 2nd 08 07:08 PM
Fields requiring input amaries Excel Programming 0 March 28th 07 01:59 AM
Displaying a message in a message box without requiring user to click anything to proceed Android[_2_] Excel Programming 2 June 25th 04 06:44 PM
CODE to select range based on User Input or Value of Input Field Sandi Gauthier Excel Programming 4 December 8th 03 03:22 PM
MsgBox and User Input Terrin Excel Programming 2 September 9th 03 09:05 PM


All times are GMT +1. The time now is 07:17 PM.

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"