Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 38
Default How to find out what the user selected?

So you want the cell addresses? If that's the case then
Selection.Address will do the trick.

-----Original Message-----
Hi all,

I am working on a little app to create a textfile based

on
user input. The idea is that the user can select a

certain
part of the active sheet that needs to be saved to a
textfile in a fixed-length format. However, I have not
been able to 'read' the selection. So my question,
probably quite easy to solve, is: how can I retreive the
columns and rows in the active selection? Kind of like
Selection.PrintOut, except I need f.a. A4:E25 instead of
Selection because I use a custom function to write the
contents to file.

Many thanks in advance for any helpful replies.


With kind regards,

Ivo.
.

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
How do I find out how many rows I have selected? ABR Excel Discussion (Misc queries) 7 April 3rd 23 10:56 AM
Macro To Open a User selected File Chris Excel Worksheet Functions 2 September 6th 07 08:58 PM
dynamic chart on user selected data range in Excel 2007 turen Charts and Charting in Excel 5 September 1st 07 02:03 AM
How do I generate a total cost for user selected rows? DLund Excel Discussion (Misc queries) 2 April 2nd 07 10:40 PM
Dynamic Charting - User Selected Data Lines mikluk Charts and Charting in Excel 1 December 1st 05 12:26 AM


All times are GMT +1. The time now is 07:03 AM.

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

About Us

"It's about Microsoft Excel"