Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default Help with problems

I have two problem I need help with,

the first is I use the recorder to complete my macro codes this work very
well, but I am having problems when i use the paste special function in the
macro.

What I am looking to do is every week copy a whole worksheet to another
worksheet and have it paste only the values not the formulas to help save
some disc space. But it seems to not be able to do this.

Can some one help with this?

Problem number 2 is to do with the above as such. What I am looking to do is
have a macro create a new worksheet and then rename that sheet with the name
in cell "d5"

Thanks in advance

Greg


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 111
Default Help with problems

Try something similar to this for paste:

Range("A1").PasteSpecial Paste:=xlPasteValues


Use something similar to this for the name:

MyName = worksheets("MySheet").Range("D7").value

Sheets.Add

Activesheet.Name = MyName


--
Damon Longworth

Don't miss out on the 2005 Excel User Conference
Sept 16th and 17th
Stockyards Hotel - Ft. Worth, Texas
www.ExcelUserConference.com


"Greg" wrote in message
...
I have two problem I need help with,

the first is I use the recorder to complete my macro codes this work very
well, but I am having problems when i use the paste special function in
the macro.

What I am looking to do is every week copy a whole worksheet to another
worksheet and have it paste only the values not the formulas to help save
some disc space. But it seems to not be able to do this.

Can some one help with this?

Problem number 2 is to do with the above as such. What I am looking to do
is have a macro create a new worksheet and then rename that sheet with the
name in cell "d5"

Thanks in advance

Greg



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default Help with problems

Thanks for that will try now.

Greg
"Damon Longworth" wrote in message
...
Try something similar to this for paste:

Range("A1").PasteSpecial Paste:=xlPasteValues


Use something similar to this for the name:

MyName = worksheets("MySheet").Range("D7").value

Sheets.Add

Activesheet.Name = MyName


--
Damon Longworth

Don't miss out on the 2005 Excel User Conference
Sept 16th and 17th
Stockyards Hotel - Ft. Worth, Texas
www.ExcelUserConference.com


"Greg" wrote in message
...
I have two problem I need help with,

the first is I use the recorder to complete my macro codes this work very
well, but I am having problems when i use the paste special function in
the macro.

What I am looking to do is every week copy a whole worksheet to another
worksheet and have it paste only the values not the formulas to help save
some disc space. But it seems to not be able to do this.

Can some one help with this?

Problem number 2 is to do with the above as such. What I am looking to do
is have a macro create a new worksheet and then rename that sheet with
the name in cell "d5"

Thanks in advance

Greg





  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default Help with problems

Ok part of it works great but I have gone about it the wrong way can anyone
help me with how to get the active worksheet to be named the value in d7

Thanks
"Greg" wrote in message
...
Thanks for that will try now.

Greg
"Damon Longworth" wrote in message
...
Try something similar to this for paste:

Range("A1").PasteSpecial Paste:=xlPasteValues


Use something similar to this for the name:

MyName = worksheets("MySheet").Range("D7").value

Sheets.Add

Activesheet.Name = MyName


--
Damon Longworth

Don't miss out on the 2005 Excel User Conference
Sept 16th and 17th
Stockyards Hotel - Ft. Worth, Texas
www.ExcelUserConference.com


"Greg" wrote in message
...
I have two problem I need help with,

the first is I use the recorder to complete my macro codes this work
very well, but I am having problems when i use the paste special
function in the macro.

What I am looking to do is every week copy a whole worksheet to another
worksheet and have it paste only the values not the formulas to help
save some disc space. But it seems to not be able to do this.

Can some one help with this?

Problem number 2 is to do with the above as such. What I am looking to
do is have a macro create a new worksheet and then rename that sheet
with the name in cell "d5"

Thanks in advance

Greg







  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Help with problems

Hi Greg;

Try:

ActiveSheet.Name = Range("D7").Value

---
Regards,
Norman



"Greg" wrote in message
...
Ok part of it works great but I have gone about it the wrong way can
anyone help me with how to get the active worksheet to be named the value
in d7

Thanks
"Greg" wrote in message
...
Thanks for that will try now.

Greg
"Damon Longworth" wrote in message
...
Try something similar to this for paste:

Range("A1").PasteSpecial Paste:=xlPasteValues


Use something similar to this for the name:

MyName = worksheets("MySheet").Range("D7").value

Sheets.Add

Activesheet.Name = MyName


--
Damon Longworth

Don't miss out on the 2005 Excel User Conference
Sept 16th and 17th
Stockyards Hotel - Ft. Worth, Texas
www.ExcelUserConference.com


"Greg" wrote in message
...
I have two problem I need help with,

the first is I use the recorder to complete my macro codes this work
very well, but I am having problems when i use the paste special
function in the macro.

What I am looking to do is every week copy a whole worksheet to another
worksheet and have it paste only the values not the formulas to help
save some disc space. But it seems to not be able to do this.

Can some one help with this?

Problem number 2 is to do with the above as such. What I am looking to
do is have a macro create a new worksheet and then rename that sheet
with the name in cell "d5"

Thanks in advance

Greg











  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,120
Default Help with problems


Worksheets.Add.Name = Range("D7").Value

--
HTH

Bob Phillips

"Greg" wrote in message
...
Ok part of it works great but I have gone about it the wrong way can

anyone
help me with how to get the active worksheet to be named the value in d7

Thanks
"Greg" wrote in message
...
Thanks for that will try now.

Greg
"Damon Longworth" wrote in message
...
Try something similar to this for paste:

Range("A1").PasteSpecial Paste:=xlPasteValues


Use something similar to this for the name:

MyName = worksheets("MySheet").Range("D7").value

Sheets.Add

Activesheet.Name = MyName


--
Damon Longworth

Don't miss out on the 2005 Excel User Conference
Sept 16th and 17th
Stockyards Hotel - Ft. Worth, Texas
www.ExcelUserConference.com


"Greg" wrote in message
...
I have two problem I need help with,

the first is I use the recorder to complete my macro codes this work
very well, but I am having problems when i use the paste special
function in the macro.

What I am looking to do is every week copy a whole worksheet to

another
worksheet and have it paste only the values not the formulas to help
save some disc space. But it seems to not be able to do this.

Can some one help with this?

Problem number 2 is to do with the above as such. What I am looking to
do is have a macro create a new worksheet and then rename that sheet
with the name in cell "d5"

Thanks in advance

Greg









  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default Help with problems

Thank you I have been told before but could not remember it for the life of
me!

Thanks to all that have helped me

Greg
"Bob Phillips" wrote in message
...

Worksheets.Add.Name = Range("D7").Value

--
HTH

Bob Phillips

"Greg" wrote in message
...
Ok part of it works great but I have gone about it the wrong way can

anyone
help me with how to get the active worksheet to be named the value in d7

Thanks
"Greg" wrote in message
...
Thanks for that will try now.

Greg
"Damon Longworth" wrote in message
...
Try something similar to this for paste:

Range("A1").PasteSpecial Paste:=xlPasteValues


Use something similar to this for the name:

MyName = worksheets("MySheet").Range("D7").value

Sheets.Add

Activesheet.Name = MyName


--
Damon Longworth

Don't miss out on the 2005 Excel User Conference
Sept 16th and 17th
Stockyards Hotel - Ft. Worth, Texas
www.ExcelUserConference.com


"Greg" wrote in message
...
I have two problem I need help with,

the first is I use the recorder to complete my macro codes this work
very well, but I am having problems when i use the paste special
function in the macro.

What I am looking to do is every week copy a whole worksheet to

another
worksheet and have it paste only the values not the formulas to help
save some disc space. But it seems to not be able to do this.

Can some one help with this?

Problem number 2 is to do with the above as such. What I am looking
to
do is have a macro create a new worksheet and then rename that sheet
with the name in cell "d5"

Thanks in advance

Greg











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
aauugghhh...#div/o problems & various average formula problems acbel40 Excel Worksheet Functions 5 October 19th 09 05:00 PM
Problems Kay Excel Worksheet Functions 7 May 26th 09 10:47 PM
STILL Having VBA Problems!!!!!!! Elise148 Excel Discussion (Misc queries) 9 July 3rd 07 08:40 PM
Problems merging an excel file due to code or file problems? Cindy M -WordMVP- Excel Programming 0 September 14th 04 02:58 PM
Two little problems Robert Couchman[_6_] Excel Programming 2 August 12th 04 02:49 PM


All times are GMT +1. The time now is 05:35 PM.

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"