S
speedy
Someone please help me. I wrote a message before and I never got the answer
or the macro that I wanted that worked.
I will try to give as much detail as I can so someone may be able to help
me. I am looking for a macro that will take the list of name ranges that I
have created. The range names that I created are called pg1, pg2, and so on
and so on. These range names are in a workbook and are part of the
worksheets within the work so the pg's will always be different.
I want the macro to go get the range name copy the range name and paste
special value, transpose, to a sheet that I have in the workbook called data.
After completing this I want the macro to go and do the next range name
which would be pg2 and do the same thing as pg1 but I want it posted just
under the data that was posted from pg1 into the data worksheet.
I have create a quick macro from the recorder but it is only good for one
pg1. I tried to just copy this macro to do 10 pg's but it will not work
correctly. Please help. Below you will see what I am trying to do but like
I said this is just for 1 page I need something that will work for unlimited
pg's
Application.Goto Reference:="pg1"
Selection.Copy
ActiveWindow.ScrollWorkbookTabs Position:=xlLast
Sheets("data").Select
Selection.PasteSpecial Paste:=xlPasteValuesAndNumberFormats, Operation:= _
xlNone, SkipBlanks:=False, Transpose:=True
Selection.End(xlDown).Select
ActiveCell.Offset(1, 0).Range("A1").Select
or the macro that I wanted that worked.
I will try to give as much detail as I can so someone may be able to help
me. I am looking for a macro that will take the list of name ranges that I
have created. The range names that I created are called pg1, pg2, and so on
and so on. These range names are in a workbook and are part of the
worksheets within the work so the pg's will always be different.
I want the macro to go get the range name copy the range name and paste
special value, transpose, to a sheet that I have in the workbook called data.
After completing this I want the macro to go and do the next range name
which would be pg2 and do the same thing as pg1 but I want it posted just
under the data that was posted from pg1 into the data worksheet.
I have create a quick macro from the recorder but it is only good for one
pg1. I tried to just copy this macro to do 10 pg's but it will not work
correctly. Please help. Below you will see what I am trying to do but like
I said this is just for 1 page I need something that will work for unlimited
pg's
Application.Goto Reference:="pg1"
Selection.Copy
ActiveWindow.ScrollWorkbookTabs Position:=xlLast
Sheets("data").Select
Selection.PasteSpecial Paste:=xlPasteValuesAndNumberFormats, Operation:= _
xlNone, SkipBlanks:=False, Transpose:=True
Selection.End(xlDown).Select
ActiveCell.Offset(1, 0).Range("A1").Select