ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Update a sheet (https://www.excelbanter.com/excel-programming/321063-update-sheet.html)

Alvin Hansen[_2_]

Update a sheet
 
Hi
In excel i can say that excel not shall calculate all sheets
i set this to manuel.
But is there not a way i can update one specific sheet
from a vba form?

I have try with

Sheets("perioder").Update

but here i get a error

Best regards alvin



Norman Jones

Update a sheet
 
Hi Alvin,

From VBA Help on Calculate:

All open workbooks Application.Calculate (or just Calculate)
A specific worksheet Worksheets(1).Calculate
A specified range Worksheets(1).Rows(2).Calculate



---
Regards,
Norman



"Alvin Hansen" wrote in message
...
Hi
In excel i can say that excel not shall calculate all sheets
i set this to manuel.
But is there not a way i can update one specific sheet
from a vba form?

I have try with

Sheets("perioder").Update

but here i get a error

Best regards alvin





Tom Ogilvy

Update a sheet
 
Sheets("perioder").Calculate

--
Regards,
Tom Ogilvy


"Alvin Hansen" wrote in message
...
Hi
In excel i can say that excel not shall calculate all sheets
i set this to manuel.
But is there not a way i can update one specific sheet
from a vba form?

I have try with

Sheets("perioder").Update

but here i get a error

Best regards alvin





Alvin Hansen[_2_]

Update a sheet
 
Its working
Thanks
alvin


"Norman Jones" skrev:

Hi Alvin,

From VBA Help on Calculate:

All open workbooks Application.Calculate (or just Calculate)
A specific worksheet Worksheets(1).Calculate
A specified range Worksheets(1).Rows(2).Calculate



---
Regards,
Norman



"Alvin Hansen" wrote in message
...
Hi
In excel i can say that excel not shall calculate all sheets
i set this to manuel.
But is there not a way i can update one specific sheet
from a vba form?

I have try with

Sheets("perioder").Update

but here i get a error

Best regards alvin







All times are GMT +1. The time now is 11:03 PM.

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