Hi
Does anyone know what I am doing wrong - macro takes an excessive amt of time to run ?XL_Export.xlsb
I include the file required to make it run through
Thanks
![]()
Please Login or Register to view this content.
Hi
Does anyone know what I am doing wrong - macro takes an excessive amt of time to run ?XL_Export.xlsb
I include the file required to make it run through
Thanks
![]()
Please Login or Register to view this content.
Your code doesn't work. There is no Sheet4 in the attached workbook.
Resale Ordering.xlsmXL_Export.xlsbHi
Sorry I didn't realise a response had been received. I attach the macro worksheet and export file for macro - its runs through for me. Let me know if you are still having problems. I just don' t understand why its taking so long to run through
appreciate your help with this.
Kind regards
Leanne
Why do you loop through each row here:
You may simply copy whole range in block:![]()
Please Login or Register to view this content.
![]()
Please Login or Register to view this content.
- Please remember to mark threads Solved with Thread Tools link at top of page.
- Please use code tags when posting code: [code]Place your code here[/code]
- Please read Forum Rules
I have used this code in two parts - the bit where I don't need "If rcell.Value >= 0 Then" I was able to replace with your code and it appears to run a bit quicker. Is it possible to do the same for the second part - I just don't know how to include the "If rcell.Value >= 0 Then" ?![]()
Please Login or Register to view this content.
Many thanks for your help
Leanne
There is still only need for one copy:
![]()
Please Login or Register to view this content.
Last edited by Izandol; 03-17-2014 at 07:04 AM.
It may also be better to build range and copy at end:
![]()
Please Login or Register to view this content.
Thanks very much for your help - absolutely perfect and has sped the macro up !
You are welcome.
Please remember to mark thread solved using Thread Tools link at top of page.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks