open workbook

  • Thread starter Thread starter rbekka33
  • Start date Start date
R

rbekka33

my macros work ok now but when i add the line to open the workbook - i
does so successfully but then stops and doesn't run through the othe
macros i have called.

Sub xxx()
Workbooks.Open Filename:= _
"C:\Documents and Settings\person x\Desktop\Database.xls"
MatchData
ExtractUniqueEngCodes
CopyPasteUnique
End Sub

i also would like to automatically accept the "enable macros" dialogu
box which comes up.

is there any way of doing this?

cheer
 
One Possibility.
How do you run your xxx macro? Do you use a shortcut key that has a shift
as part of the combination? If so, use a shortcut key combination that
doesn't include a shift.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top