Hi,
Not sure if this can be done or not.
Is there any way a macro can search the current work sheet for an autosum in Colum J, copy the value and then open a new spreadsheet and paste the value in to a predetermined cell?
Hi,
Not sure if this can be done or not.
Is there any way a macro can search the current work sheet for an autosum in Colum J, copy the value and then open a new spreadsheet and paste the value in to a predetermined cell?
This macro will search in Column J for the first "SUM", copy it, insert a new spreadsheet into your workbook and paste that value into cell A1.
ChemistB![]()
Please Login or Register to view this content.
ChemistB,Originally Posted by ChemistB
I've tweaked your code a bit
VBA Noob![]()
Please Login or Register to view this content.
_________________________________________
![]()
![]()
Credo Elvem ipsum etian vivere
_________________________________________
A message for cross posters
Please remember to wrap code.
Forum Rules
Please add to your signature if you found this link helpful. Excel links !!!
I need to read more.Thanks VBA!
I just bought the Definitive Guide to Excel VBA by Kofler.
ChemistB
I'm still learning myself.
Couple of useful links for you
http://www.ozgrid.com/VBA/find-method.htm
http://www.ozgrid.com/VBA/find-dates.htm
http://www.dailydoseofexcel.com/arch...e-find-method/
http://msdn.microsoft.com/en-us/libr...ffice.11).aspx
http://www.rondebruin.nl/delete.htm#Find
VBA Noob
Hi,
Thanks for getting back to me, I have been away so I have only just had the chance to get back to this.
If I was to combine the two codes would this be correct:
Rather than add a sheet can I specify a spreadsheet to open and then get it to paste into that?![]()
Please Login or Register to view this content.
e.g Idealy I would like it to go to C:\Dashboard.xls and then in the sheet called Data and Cell F20
also, When I ran the above code it created two sheets and pasted the data in rather than just the one sheet.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks