Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default Zoom Function

Hi all,

I would like to use the zoom-function in VB. How can I accomplish this, when
I want to use the zoom function for multiple sheets?

here's an extract of my code. It gives an error, please provide help.

Strg = "'" & filepath & "\[" & Filename & "]" _
& sheetname & "'!" & "r33" & "c8"
Wrb.Sheets("Leraar").Cells(33, 8).Value = ExecuteExcel4Macro(Strg)
Wrb.Sheets("Leraar").Select
ActiveWindow.zoom = Wrb.Sheets("Leraar").Cells(33, 8).Value
Wrb.Sheet2.Select
ActiveWindow.zoom = Wrb.Sheets("Leraar").Cells(33, 8).Value
Wrb.Sheets("Opstarten").Select
ActiveWindow.zoom = Wrb.Sheets("Leraar").Cells(33, 8).Value


thanks in advance

Max


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
Please help! Print Preview Zoom is Grayed Out...Doesn't zoom. PK Excel Discussion (Misc queries) 0 July 20th 09 03:33 PM
ZOOM alex Excel Worksheet Functions 2 February 22nd 08 07:05 PM
Can't Zoom LOUR Charts and Charting in Excel 0 April 19th 07 09:00 PM
Zoom David Excel Programming 2 October 15th 03 12:53 PM
set zoom david Excel Programming 0 July 29th 03 05:16 PM


All times are GMT +1. The time now is 12:16 PM.

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"