LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
DJS DJS is offline
external usenet poster
 
Posts: 31
Default Cell reference?

Hi Alex~
Try this:
Place this code in your VBA module (this already has transpose set to true):

~~~~~~~~~~~~~~~~~
Sub PasteSpecial_InsVals_SkipBlanks()
'
' PasteSpecial_InsVals_SkipBlanks Macro
' Macro to Paste Special with Ins Val & Skip Blank
'
' Keyboard Shortcut: Ctrl+Shift+V
'

Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone,
SkipBlanks _
:=True, Transpose:=True
End Sub
~~~~~~~~~~~~~~~~~~~

Then save the module and go to the spreadsheet you need to run this on.
Define the cells and hit CTRL C, then place the cursor on the first cell in
the new worksheet. Now press CTRL SHFT V.

Hope this helps,
Don




"Alex Martinez" wrote:


Hi,

I am using Excel 2002 and I am trying to find a simpler or elegant way in
doing cell reference. Here is my example I will have a column let's say
from A1 to A10 in worksheet name "Insured". What I want to do is to get the
information from A1 to A10 and put in a different worksheet called "Policy
Holder", but the trick is I want the information starting from A1-J1 (row).
Any tips will be appreciated. Thank you in advance.




 
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
Changing sheet reference to cell reference TeeJay Excel Worksheet Functions 3 October 19th 07 11:50 AM
Formulas that reference cells that reference another cell Andrea Excel Discussion (Misc queries) 7 October 19th 06 08:14 AM
absolute cell reference A spreadsheet cell reference that does no help Excel Discussion (Misc queries) 1 January 18th 06 06:56 PM
problem with cell reference in =sum(offset(cell reference,x,y,z,a)). Want cell ref to be variable. [email protected] Excel Worksheet Functions 2 December 11th 04 12:05 AM
Problem with =sum(offset(cell reference,w,x,y,z). I want cell reference to be variable [email protected] Excel Worksheet Functions 2 December 11th 04 12:00 AM


All times are GMT +1. The time now is 04:15 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"