您是否试图选择工作表“物料清单”上的单元格EF87
如果是这样,我不知道您为什么要使用Sheet1。
您应该可以这样做:
- ' Zoom_To_Total Macro
- 'Takes you to a grand total of items in the Bill of materials work sheet
- Sub Zoom_to_total()
- On Error GoTo theerror1 'End the Sub on error
- Worksheets("Bill of Materials").Select 'Error If not Bill of Materials Work Sheet
- Range("EF87").Select
- theerror1: End
- End Sub
|