Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Help on macro error when arranging pivot rows

Hi guys,

I got a macro to run a pivot table & rearrange the data rows in a particular
order.
Problem is when a particular data row is not present in my data range, the
macro stops and a macro error pops up for debugging. I then manually shift it
to the next step & run the macro again from there.

How do I overcome this macro error so that I do not have to do it manually.

Many Thanks
--
Freddie
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 245
Default Help on macro error when arranging pivot rows

Try Inserting the following line beneath your dim statements

On Error Resume Next


For more information:

http://www.cpearson.com/excel/ErrorHandling.htm

--
Steve

"Freddie Ang" wrote in message
...
Hi guys,

I got a macro to run a pivot table & rearrange the data rows in a
particular
order.
Problem is when a particular data row is not present in my data range, the
macro stops and a macro error pops up for debugging. I then manually shift
it
to the next step & run the macro again from there.

How do I overcome this macro error so that I do not have to do it
manually.

Many Thanks
--
Freddie


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Help on macro error when arranging pivot rows

Hi Steve,

I have inserted the text string before the step and it works.

Thank you.

--
Freddie


"AltaEgo" wrote:

Try Inserting the following line beneath your dim statements

On Error Resume Next


For more information:

http://www.cpearson.com/excel/ErrorHandling.htm

--
Steve

"Freddie Ang" wrote in message
...
Hi guys,

I got a macro to run a pivot table & rearrange the data rows in a
particular
order.
Problem is when a particular data row is not present in my data range, the
macro stops and a macro error pops up for debugging. I then manually shift
it
to the next step & run the macro again from there.

How do I overcome this macro error so that I do not have to do it
manually.

Many Thanks
--
Freddie



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 245
Default Help on macro error when arranging pivot rows

Happy to help. Thank you for the feedback.

--
Steve

"Freddie Ang" wrote in message
...
Hi Steve,

I have inserted the text string before the step and it works.

Thank you.

--
Freddie


"AltaEgo" wrote:

Try Inserting the following line beneath your dim statements

On Error Resume Next


For more information:

http://www.cpearson.com/excel/ErrorHandling.htm

--
Steve

"Freddie Ang" wrote in message
...
Hi guys,

I got a macro to run a pivot table & rearrange the data rows in a
particular
order.
Problem is when a particular data row is not present in my data range,
the
macro stops and a macro error pops up for debugging. I then manually
shift
it
to the next step & run the macro again from there.

How do I overcome this macro error so that I do not have to do it
manually.

Many Thanks
--
Freddie





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Arranging row titles in a Pivot Table mcwilhjelm Excel Discussion (Misc queries) 1 April 23rd 09 03:27 PM
Arranging Pivot Table data JC Excel Programming 0 October 23rd 07 03:15 PM
arranging columns in pivot table hstijnen Excel Discussion (Misc queries) 1 June 13th 06 11:16 AM
Help copying rows and arranging in new sheet flurry Excel Programming 5 May 10th 06 06:54 PM
ARRANGING DATA IN PIVOT TABLES [email protected] Excel Worksheet Functions 1 September 20th 05 10:18 AM


All times are GMT +1. The time now is 06:43 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"