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

Ok I have a previous version of a file saved in Excel 2000 for xp
...in German.

Now i have installed a German windows XP with Excel 2003 in English.

So i thought i better translate some things (although most things ar
naming so it shouldn't be a problem:
For example This:

Sub DruckbereichAuswählen()
Range("Druckbereich").Select
End Sub

To this:

Sub DruckbereichAuswählen()
Range("Print_Area").Select
End Sub

But it still refuses to work, Citng the error....
Method 'Range' of object '_Global' failed

so i'm assuming there is some naming problem. All the other macros,
such as

Sub BlattschutzAufheben()
ActiveSheet.Unprotect
Cells(1, 6) = "Zellen NICHT geschützt"
End Sub

..give me errors Method 'Unprotect' of 'object _Worksheet' failed.

is the _worksheet or _Global things a dead giveaway for something

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default ActiveSheet woes

Hi
for the first macro you also have to define a name (Insert - Define -
Name) called 'Print_area'. If you don't do this Excel will not knwo
which range to select

The second macro should do


--
Regards
Frank Kabel
Frankfurt, Germany


Ok I have a previous version of a file saved in Excel 2000 for xp
..in German.

Now i have installed a German windows XP with Excel 2003 in English.

So i thought i better translate some things (although most things are
naming so it shouldn't be a problem:
For example This:

Sub DruckbereichAuswählen()
Range("Druckbereich").Select
End Sub

To this:

Sub DruckbereichAuswählen()
Range("Print_Area").Select
End Sub

But it still refuses to work, Citng the error....
Method 'Range' of object '_Global' failed

so i'm assuming there is some naming problem. All the other macros,
such as

Sub BlattschutzAufheben()
ActiveSheet.Unprotect
Cells(1, 6) = "Zellen NICHT geschützt"
End Sub

.give me errors Method 'Unprotect' of 'object _Worksheet' failed.

is the _worksheet or _Global things a dead giveaway for something?


---
Message posted from http://www.ExcelForum.com/


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default ActiveSheet woes

Frank,

I think Print_Area is an automatic name when you select part of a sheet to
print. Excel creates it.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Frank Kabel" wrote in message
...
Hi
for the first macro you also have to define a name (Insert - Define -
Name) called 'Print_area'. If you don't do this Excel will not knwo
which range to select

The second macro should do


--
Regards
Frank Kabel
Frankfurt, Germany


Ok I have a previous version of a file saved in Excel 2000 for xp
..in German.

Now i have installed a German windows XP with Excel 2003 in English.

So i thought i better translate some things (although most things are
naming so it shouldn't be a problem:
For example This:

Sub DruckbereichAuswählen()
Range("Druckbereich").Select
End Sub

To this:

Sub DruckbereichAuswählen()
Range("Print_Area").Select
End Sub

But it still refuses to work, Citng the error....
Method 'Range' of object '_Global' failed

so i'm assuming there is some naming problem. All the other macros,
such as

Sub BlattschutzAufheben()
ActiveSheet.Unprotect
Cells(1, 6) = "Zellen NICHT geschützt"
End Sub

.give me errors Method 'Unprotect' of 'object _Worksheet' failed.

is the _worksheet or _Global things a dead giveaway for something?


---
Message posted from http://www.ExcelForum.com/




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
Ecel woes Larry Excel Discussion (Misc queries) 3 August 22nd 06 04:53 PM
Excel Woes Larry New Users to Excel 1 August 22nd 06 04:22 PM
Rowliner woes Kim K Excel Discussion (Misc queries) 2 August 4th 06 03:20 PM
Indexing Woes Rianne Excel Discussion (Misc queries) 5 July 11th 06 09:24 PM
Hyperlink Woes - Please Help!! Randy Excel Worksheet Functions 0 June 26th 06 03:01 PM


All times are GMT +1. The time now is 01:04 AM.

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"