Sheets("Results").Cells.Select ( Attention All MrExcel MVP's

Elemental

Board Regular
Joined
Jul 13, 2002
Messages
110
Sheets("Results").Cells.Select

is this code even valid ?

it says select method of Range CLass Failed,

even by typing

Sheets("Results").Select
Cells.Select

it fails on the cells.select

is there some problem with changing locations like that in VBA ?

thats what it outputs on a macro, but cant run in the VBA, and microsoft havnt done anything about it through all the versions of Excel, so what am i doing wrong by using the code it gives me from the macro recorder.

surely sombody has found a way around this, i could really use the help.

and it'd be great to know for other Excel users who may come across this error

thanks ppl.
 
ooooh,

the activesheet is "Form", but

if i type

Sheets("Results").Select
Sheets("Results").Cells.Clear

then it doesnt complain

if im working with linked cells on "data", what do i change to paste just the values to the "Results" sheet ?

:smile:

this looks great
 
Upvote 0

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

Forum statistics

Threads
1,225,476
Messages
6,185,199
Members
453,282
Latest member
roger_nz66

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top