Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-16-2014, 06:46 AM
andrew12345 andrew12345 is offline selection in other sheets blocked Windows 7 32bit selection in other sheets blocked Office 2003
Novice
selection in other sheets blocked
 
Join Date: Nov 2014
Posts: 4
andrew12345 is on a distinguished road
Angry selection in other sheets blocked

Hi all!

I have a strange behaviour in Excel: I cannot calculate values either in Excel worksheet nor by VBA. If I have a new workbook with 2 Sheets. Sheet1 is empty, sheet2 has a button linked to the code:
Sheets(1).Cells(1,1).Select
The error 1004 comes up. "Selection method or range class method failed".

The code:
Sheets(2).Cells(1,1).Select
works fine.

I Need EXCEL VBA for my work. Can anyone suggest what's wrong?

Just to mention it: macro security settings are low, VBA trust is on.
Workbook/worksheet properties are at default setting with EnableSelection on.



At a loss,

Andrew
Reply With Quote
  #2  
Old 11-16-2014, 05:08 PM
whatsup whatsup is offline selection in other sheets blocked Windows 7 64bit selection in other sheets blocked Office 2010 32bit
Competent Performer
 
Join Date: May 2014
Posts: 137
whatsup will become famous soon enough
Default

Hi Andrew
Since you talk about a new workbook I assume its unlikely that sheet 1 is protected?

Therefore, can you upload the file?

Cheers
Reply With Quote
  #3  
Old 11-17-2014, 12:36 AM
andrew12345 andrew12345 is offline selection in other sheets blocked Windows 7 32bit selection in other sheets blocked Office 2003
Novice
selection in other sheets blocked
 
Join Date: Nov 2014
Posts: 4
andrew12345 is on a distinguished road
Default

Hi Whatsup,

this effect showed up with any new file.
I uninstalled the MS analysis libraries, restarted the computer, and voilą, it works again.
I have no idea what it was, but I wouldn't like to reinstall the analysis pack again!
Thanks for your response,
Andreas
Reply With Quote
  #4  
Old 11-17-2014, 05:34 AM
whatsup whatsup is offline selection in other sheets blocked Windows 7 64bit selection in other sheets blocked Office 2010 32bit
Competent Performer
 
Join Date: May 2014
Posts: 137
whatsup will become famous soon enough
Default

Glad to hear you got a solution. Though, I never heard about a interference of excel 2003 with its own analysis pack. There rather have been other programs causing troubles, although on the first sight it isn't obvious the relation. For some time there have been problems when installed e.g. google chrome on the same computer.
Just be aware of this, in case the problem or something similar occurs again.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
selection in other sheets blocked Selection of all Text for a specific page in word is spanning selection across pages ramsgarla Word VBA 9 12-05-2012 03:23 AM
Linking sheets to fetch transactions from sheets to another waqer Excel 4 09-01-2011 12:35 PM
selection in other sheets blocked Blocked Senders ozarkopa Outlook 19 03-24-2011 11:42 PM
Blocked Excel Attachments mcconnell Outlook 0 08-04-2006 03:11 PM
Outlook blocked Messages darmstadtrunner Office 5 03-08-2006 04:09 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:04 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft