Hi
I get Run Time error 9 Subscript out of range, I cannot see where the error is
Please may I ask for some advice?
Much appreciated!
![]()
Please Login or Register to view this content.
Hi
I get Run Time error 9 Subscript out of range, I cannot see where the error is
Please may I ask for some advice?
Much appreciated!
![]()
Please Login or Register to view this content.
Hello KaseyLeigh,
That particular error usually means that the code cannot find where it it supposed to copy or paste or transfer data to/from.
I suspect that this line is your problem:-
You have not specified a range to paste the formula to,e.g. Range("A2:A20").![]()
Please Login or Register to view this content.
You may have to post your whole code, just in case.
Cheerio,
vcoolio.
...............or you could try this:-
I hope that this helps.![]()
Please Login or Register to view this content.
Cheerio,
vcoolio.
...............or you could try this:-
I hope that this helps.![]()
Please Login or Register to view this content.
Cheerio,
vcoolio.
....and i have no idea why it posted twice!
Do you definitely have a sheet with the exact tab name 'Sheet1'?
If posting code please use code tags, see here.
Hi lovely people
Mmm ... changed my code to select the cell User picked then next line of code is ..
and I get Run time error 1004 Application-defined or object-defined error ..... eeeeeek!![]()
Please Login or Register to view this content.
Can you post the rest of the code as it is?
Also, an explanation of what you are trying to do would help.
PS If you just want to put =1+1 in the user selected cell you could use this.
![]()
Please Login or Register to view this content.
Hi Norie (thanks for your time!)
Here's my full code.
I am copying a formula and want User to pick a cell to paste the formula into
![]()
Please Login or Register to view this content.
Where do you get the error with that code?
at Line myCell.Formula = " .......
basically I want formula =VLOOKUP([@[Fund Name]],PKRFactsheetSelection.asp!$A:$F,6,FALSE) inserted into cell user picks![]()
Last edited by kaseyleigh; 04-28-2016 at 08:42 AM.
Norie
it works I was being a div "DOH!"
Thank you for your time and knowledge!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks