Need help copying results from an autofilter to a new worksheet

ozarkhigh

New Member
Joined
Aug 27, 2009
Messages
12
I'm working on a quote template that has 600+ products with descriptions and prices that gets autofiltered down to one product. After it has been filtered down to that one product how do I link that to a new worksheet?
 
This is what I get.

Sub Macro3()
'
' Macro3 Macro
' Msgbox Sheets("Worksheet").Range("A12").CurrentRegion.Address
'

'
Application.Run "'elutron quote template.xlsm'!Macro3"
Sheets("Sheet2").Select
Application.Left = 321.25
Application.Top = 72.25
ActiveWindow.SmallScroll Down:=-90
Application.Left = 765.25
Application.Top = 128.5
Application.Run "'elutron quote template.xlsm'!Macro3"
Application.Left = 688.75
Application.Top = 128.5
End Sub
 
Upvote 0

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
ozarkhigh,

How exactly do you execute a given macro? You seem to record another one?
 
Upvote 0
I have Excel 2007, so I go to the developer tab, then click on Macros and choose the macro to run and click run. When I create a new one I click on record macro. The document has three macros right now. One that creates a unique quote # every time the document is opened and then the two you gave me.

Macro 1:
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)

With Worksheets("Sheet1").Range("G3")

.Value = .Value + 1

End With

End Sub
 
Upvote 0
What do you get if you ONLY execute this small macro?

Code:
Sub Macro3()
   Msgbox Sheets("Worksheet").Range("A12").CurrentRegion.Address
End Sub
 
Upvote 0

Forum statistics

Threads
1,224,898
Messages
6,181,625
Members
453,058
Latest member
rmd0725

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top