• Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Any Excel Visual Basic Guru's out there ?

Mat7777

Still gathering requirements...
Thanks received
0
'Hi folks

Ive just been handed an Excel spreadsheet with some VB code that apparently
"used to work ok" and am expected to fix it !

I know very very little about VB and wondered if anyone could fix the code
for me ?

The error I get in Excel when hitting the "Button" is 'Run time error 1004'

'Application-defined or object-defined error'

If there isnt a simple solution - does anyone feel like having a look at the
code for me ?

Any help greatly appreciated

Cheers
Mat
 
Why would anyone here debug the code for free for you?

Have you tried googling "'Run time error 1004".

Have you narrowed it down to which bit of code gives the error?

Once you have the snippet of code you might be able to post on various technical forums for Excel VBA for help.
 
VBA is generally as easy as programming gets but not to say all probs are dead simple. Message me and as a retired old git I'll have a QUICK look if you like. Not spending ages on it tho.
 
A likely problem if it used to work is that the code is referring to a named range on the sheet, eg Sheet1.range("list").Value, and it has been deleted. Easy to do. Or similarly if it refers to a named sheet and someone has renamed the sheet.
 
Last edited: 19:03
Debug it and cut and paste the line into this. As was said its probably because somebody has renamed/deleted something
 

Advertisers

Back
Top