BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Dick_Pickett
Fluorite | Level 6

Is this possible?

 

Example: An Excel cell contains: =HYPERLINK("[mailto:SNFVBP@rti.org]", "SNFVBP@rti.org")

 

PROC IMPORT does not import the cell contents.

 

PROC IMPORT datafile = "report" out = &tabnamecon
dbms = XLSX REPLACE ;

sheet = "&tabname" ;
getnames = NO ;
%IF &columnheadline = NA %THEN %DO ;
datarow = 1
%END ;
%IF &columnheadline ^= NA %THEN %DO ;
datarow=&columnheadline
%END ;
;
RUN ;

Richard F. Pickett, Research Systems Programmer/Analyst
Payment Data Analysis (PDA)
Community Health & Implementation Research Program(CHIRP)
Improving the Human Condition(ITCH)
Social, Statistical & Environmental Sciences(SSES)
RTI International
3040 Cornwallis Road
322 Building 9
Research Triangle Park, NC 27709-2194
Phone: 919.316.3798
Fax: 919.485.5589
mailto:rpickett@rti.org

turning knowledge into practice
1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User
When importing from Excel, it reads the value of the cell, not the formulas of the cell.
I'm not aware of any method to retrieving the formulas beyond parsing the XML file which is very cumbersome.

View solution in original post

1 REPLY 1
Reeza
Super User
When importing from Excel, it reads the value of the cell, not the formulas of the cell.
I'm not aware of any method to retrieving the formulas beyond parsing the XML file which is very cumbersome.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 533 views
  • 1 like
  • 2 in conversation