![]() |
|
|
|
#1
|
||||
|
||||
|
The code doesn't expect to see multiple tables on Sheet1; for .currentregion to work properly here, every table needs to be separated from its neighbour by at least one completely blank/empty row. Deleting the text Table 4 in cell A22 satisfied that in this case.
Still, headers don't match: You have Product Number in cell A23 of Sheet1, but Product in cell A1 of the Report sheet. You have a trailing space in cell B23 of Sheet1, but none in cell C1 of the Report sheet. In the userform you have a textbox called txtResMinC, but you have in the same place on the userform, another textbox called ResMinC, worse, you have a variable in the code ResMinC! I deleted the textbox ResMinC from the Userform. |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Word 2010 Run-Time error 4198 with Insert Picture with Caption and Fram Macro | jstills116 | Word VBA | 0 | 06-24-2016 07:46 AM |
| Help Please: New VBA user trying to use a macro to split Mail Merge documents. Two Run-Time Error | zipit189 | Word VBA | 7 | 03-18-2015 01:13 PM |
Shift Excel Cell after executing a macro for second time
|
LearningMacro | Excel Programming | 2 | 01-08-2015 03:05 PM |
Run Time Error 4248 when opening Word Doc from Excel
|
CIF | Excel Programming | 12 | 02-21-2014 02:27 PM |
Run-time Error 5174: Open Word Documents from Excel
|
tinfanide | Excel Programming | 3 | 10-01-2013 07:35 AM |