Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi. I have a simple macro that cuts and pastes values from
different tabs to an output tab. Sample code is: Sheets("addressing").Select Range("svcstack").Select Selection.Copy Sheets("Output driver page").Select Range("cell1").Select Selection.PasteSpecial Paste:=xlValues Problem is that while the code runs, each tab selected is displayed. I would like to keep the output tab, call it "output", displayed as the macro runs. Please help. Thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
application.screenupdating = false
-----Original Message----- Hi. I have a simple macro that cuts and pastes values from different tabs to an output tab. Sample code is: Sheets("addressing").Select Range("svcstack").Select Selection.Copy Sheets("Output driver page").Select Range("cell1").Select Selection.PasteSpecial Paste:=xlValues Problem is that while the code runs, each tab selected is displayed. I would like to keep the output tab, call it "output", displayed as the macro runs. Please help. Thanks . |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Don't forget to restore that at the end of the macro:
Sub YourMacro() Application.ScreenUpdating = False Your code goes here Application.ScreenUpdating = True End Sub Biff -----Original Message----- application.screenupdating = false -----Original Message----- Hi. I have a simple macro that cuts and pastes values from different tabs to an output tab. Sample code is: Sheets("addressing").Select Range("svcstack").Select Selection.Copy Sheets("Output driver page").Select Range("cell1").Select Selection.PasteSpecial Paste:=xlValues Problem is that while the code runs, each tab selected is displayed. I would like to keep the output tab, call it "output", displayed as the macro runs. Please help. Thanks . . |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You didn't say which version you are running.
Have your code select the tab of your preference, then turn off screen refreshing until macro is finished, the last line before <end sub turn "screenrefreshing" back on. Depending on which version you are running, it may be called screen updating. application.screenupdating=false application.screenupdating=true d.s. Donald "Salman" wrote in message ... Hi. I have a simple macro that cuts and pastes values from different tabs to an output tab. Sample code is: Sheets("addressing").Select Range("svcstack").Select Selection.Copy Sheets("Output driver page").Select Range("cell1").Select Selection.PasteSpecial Paste:=xlValues Problem is that while the code runs, each tab selected is displayed. I would like to keep the output tab, call it "output", displayed as the macro runs. Please help. Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VBA macro runs fine, but freezes if I try to do ANYTHING else whileit runs | Setting up and Configuration of Excel | |||
One macro runs then it auto runs another macro | Excel Discussion (Misc queries) | |||
Which Macro Runs...? | Excel Discussion (Misc queries) | |||
Display a message whilst a macro runs | Excel Programming | |||
Display a message whilst a macro runs | Excel Programming |