ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Hiding "work" taking place on a worksheet. (https://www.excelbanter.com/excel-programming/283051-hiding-work-taking-place-worksheet.html)

mika.[_2_]

Hiding "work" taking place on a worksheet.
 
Hi there,

I have a macro that copies info from other worksheets and
pastes it into the current worksheet. Now, this
process "looks" messy. I was wondering if there is a way
to have the worksheet it's copying to still visible, but
not show the "copying" -- that is, only show something
that indicates that work is going on (i.e. like when the
cursor shows an hour glass), but doesn't actually show
the copying and pasting taking place.

Application.visible=false
is pretty good for this (I just set
application.visible=true at the end of my code), but then
the whole application disappears for that time. Is there
any way to still have the workbook/worksheets present but
just not show the work being done until the work is
complete?

Thanks,
MIka

Bob Umlas, Excel MVP[_2_]

Hiding "work" taking place on a worksheet.
 
Application.Screenupdating = Fals

and true at the end of the procedur

----- mika. wrote: ----

Hi there

I have a macro that copies info from other worksheets and
pastes it into the current worksheet. Now, this
process "looks" messy. I was wondering if there is a way
to have the worksheet it's copying to still visible, but
not show the "copying" -- that is, only show something
that indicates that work is going on (i.e. like when the
cursor shows an hour glass), but doesn't actually show
the copying and pasting taking place

Application.visible=fals
is pretty good for this (I just set
application.visible=true at the end of my code), but then
the whole application disappears for that time. Is there
any way to still have the workbook/worksheets present but
just not show the work being done until the work is
complete

Thanks
MIk


GJones

Hiding "work" taking place on a worksheet.
 
Mika;

At the beginning of your sub put this:

Application.ScreenUpdating=False

Thanks,

Greg


-----Original Message-----
Hi there,

I have a macro that copies info from other worksheets and
pastes it into the current worksheet. Now, this
process "looks" messy. I was wondering if there is a way
to have the worksheet it's copying to still visible, but
not show the "copying" -- that is, only show something
that indicates that work is going on (i.e. like when the
cursor shows an hour glass), but doesn't actually show
the copying and pasting taking place.

Application.visible=false
is pretty good for this (I just set
application.visible=true at the end of my code), but then
the whole application disappears for that time. Is there
any way to still have the workbook/worksheets present but
just not show the work being done until the work is
complete?

Thanks,
MIka
.



All times are GMT +1. The time now is 02:29 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com