Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 202
Default How to select a specific column with Excel VBA

Excel 2003

I am exporting hyperlink data from Access to Excel. I plan to use code from
Microsoft KB Article 271856 to turn the text in a specific Excel column back
into a working hyperlink.

I need help with VBA code to select that specific column in the worksheet
that contains the hyperlink data so I can run the code from the KB article.

--
Dennis
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default How to select a specific column with Excel VBA

Hi Dennis,

Try posting your export code.


---
Regards,
Norman


"Dennis" wrote in message
...
Excel 2003

I am exporting hyperlink data from Access to Excel. I plan to use code
from
Microsoft KB Article 271856 to turn the text in a specific Excel column
back
into a working hyperlink.

I need help with VBA code to select that specific column in the worksheet
that contains the hyperlink data so I can run the code from the KB
article.

--
Dennis



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 202
Default How to select a specific column with Excel VBA

Code to export to Excel...
Dim stDocName As String

stDocName = "Table1 Query"
DoCmd.OutputTo acReport, stDocName, acFormatXLS, "c:\dennis\test.xls"

Code from KB271856...
Sub HyperAdd()
'
' Converts each text hyperlink selected into a working hyperlink
'
For Each xCell In Selection
ActiveSheet.Hyperlinks.Add Anchor:=xCell, Address:=xCell.Formula
Next xCell
'
'
End Sub
--
Dennis


"Norman Jones" wrote:

Hi Dennis,

Try posting your export code.


---
Regards,
Norman


"Dennis" wrote in message
...
Excel 2003

I am exporting hyperlink data from Access to Excel. I plan to use code
from
Microsoft KB Article 271856 to turn the text in a specific Excel column
back
into a working hyperlink.

I need help with VBA code to select that specific column in the worksheet
that contains the hyperlink data so I can run the code from the KB
article.

--
Dennis




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
locate cell with specific text and select that column rockytopfan4ever Excel Discussion (Misc queries) 3 July 30th 08 01:53 PM
Select specific column for auto filter [email protected] Excel Worksheet Functions 4 October 2nd 07 07:26 AM
How do I select cells within a column that contain a specific word Tobias Excel Worksheet Functions 1 September 28th 07 06:50 PM
select rows to print where there's data in specific column ebarbieri Excel Discussion (Misc queries) 1 July 4th 06 11:54 PM
Setup a macro to select a specific column within the same row IndioP Excel Programming 3 February 7th 05 04:10 PM


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

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"