A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Assign a multiple commands



 
 
Thread Tools Display Modes
  #1  
Old November 10th, 2003, 10:36 AM
Steve Adler
external usenet poster
 
Posts: n/a
Default Assign a multiple commands


Hi ;

Is it possible to assign multiple commands to an excel
button.

If so , i'd like to create a custom button to paste the
copied data as values .

Normally i do that by clicking

edit- paste special-values

I'd appriaciate any help.

Thanks
Steve

  #2  
Old November 10th, 2003, 12:27 PM
Alan
external usenet poster
 
Posts: n/a
Default Assign a multiple commands

One way,
Copy this into a standard module:-
(Press Alt and F11
Go 'Insert' 'Module)

Sub PstSpl()
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues
Application.CutCopyMode = False
End Sub

Create a buttom from the View Forms toolbar and assign macro PstSpl to it

"Steve Adler" wrote in message
...

Hi ;

Is it possible to assign multiple commands to an excel
button.

If so , i'd like to create a custom button to paste the
copied data as values .

Normally i do that by clicking

edit- paste special-values

I'd appriaciate any help.

Thanks
Steve



  #3  
Old November 10th, 2003, 01:34 PM
Steve Adler
external usenet poster
 
Posts: n/a
Default Assign a multiple commands

Hi.

Thanks for the reply .
However i can not make it work .
It also always refers to the excel file where
the module was written .

Could you advise something else .

Regards;


-----Original Message-----
One way,
Copy this into a standard module:-
(Press Alt and F11
Go 'Insert' 'Module)

Sub PstSpl()
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues
Application.CutCopyMode = False
End Sub

Create a buttom from the View Forms toolbar and assign

macro PstSpl to it

"Steve Adler" wrote

in message
...

Hi ;

Is it possible to assign multiple commands to an excel
button.

If so , i'd like to create a custom button to paste the
copied data as values .

Normally i do that by clicking

edit- paste special-values

I'd appriaciate any help.

Thanks
Steve



.

  #4  
Old November 10th, 2003, 02:10 PM
Peo Sjoblom
external usenet poster
 
Posts: n/a
Default Assign a multiple commands

Steve, what version are you using? My excel 2002 at work has a paste values
button that you can get by customize the menus. Do viewtoolbarscustomize,
select commands, in the left pane select edit, in the right pane scroll down
until you see an icon with 12 in it named paste values, then just drag it
and release it somewhere in one of the toolbars, I keep mine next to the
other edit/copy/paste icons, then close the customize window. From now on it
will always be there when you open excel.

--

Regards,

Peo Sjoblom


"Steve Adler" wrote in message
...
Hi.

Thanks for the reply .
However i can not make it work .
It also always refers to the excel file where
the module was written .

Could you advise something else .

Regards;


-----Original Message-----
One way,
Copy this into a standard module:-
(Press Alt and F11
Go 'Insert' 'Module)

Sub PstSpl()
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues
Application.CutCopyMode = False
End Sub

Create a buttom from the View Forms toolbar and assign

macro PstSpl to it

"Steve Adler" wrote

in message
...

Hi ;

Is it possible to assign multiple commands to an excel
button.

If so , i'd like to create a custom button to paste the
copied data as values .

Normally i do that by clicking

edit- paste special-values

I'd appriaciate any help.

Thanks
Steve



.



  #5  
Old November 10th, 2003, 03:16 PM
Steve Adler
external usenet poster
 
Posts: n/a
Default Assign a multiple commands

Hi ;

Thank you very much Peo.
I didn't check the menu cause I thought it was much more
complex than that )appearently not .

Regards;
Steve


-----Original Message-----
Steve, what version are you using? My excel 2002 at work

has a paste values
button that you can get by customize the menus. Do

viewtoolbarscustomize,
select commands, in the left pane select edit, in the

right pane scroll down
until you see an icon with 12 in it named paste values,

then just drag it
and release it somewhere in one of the toolbars, I keep

mine next to the
other edit/copy/paste icons, then close the customize

window. From now on it
will always be there when you open excel.

--

Regards,

Peo Sjoblom


"Steve Adler" wrote

in message
...
Hi.

Thanks for the reply .
However i can not make it work .
It also always refers to the excel file where
the module was written .

Could you advise something else .

Regards;


-----Original Message-----
One way,
Copy this into a standard module:-
(Press Alt and F11
Go 'Insert' 'Module)

Sub PstSpl()
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues
Application.CutCopyMode = False
End Sub

Create a buttom from the View Forms toolbar and assign

macro PstSpl to it

"Steve Adler"

wrote
in message
...

Hi ;

Is it possible to assign multiple commands to an

excel
button.

If so , i'd like to create a custom button to paste

the
copied data as values .

Normally i do that by clicking

edit- paste special-values

I'd appriaciate any help.

Thanks
Steve



.



.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:14 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.